Makefile (262B)
1 PREFIX ?= /usr/local 2 BINDIR ?= /bin 3 4 LDLIBS = -lglfw -lGL 5 6 all: xdraw 7 8 xdraw: xdraw.c 9 10 clean: 11 rm -f xdraw 12 13 install: 14 install -m755 xdraw -t "$(DESTDIR)$(PREFIX)$(BINDIR)" 15 16 uninstall: 17 rm "$(DESTDIR)$(PREFIX)$(BINDIR)/xdraw" 18 19 .PHONY: all clean install uninstall