aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
blob: 9e6375a71c33de0b3e92470b8db21b9ed45c656f (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) $(CPPFLAGS) $(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