aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
blob: f8a36ef66734e8161f6f2bb1268e8dbded65ffb6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
bindir ?= /usr/bin
mandir ?= /usr/share/man

edid-decode: edid-decode.c
	$(CC) $(CFLAGS) $(LDFLAGS) -g -Wall -o $@ $< -lm

clean:
	rm -f edid-decode

install:
	mkdir -p $(DESTDIR)$(bindir)
	install -m 0755 edid-decode $(DESTDIR)$(bindir)
	mkdir -p $(DESTDIR)$(mandir)/man1
	install -m 0644 edid-decode.1 $(DESTDIR)$(mandir)/man1

Privacy Policy