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