goat3d
diff goatview/Makefile @ 46:9d911100935b
added install/uninstall targets in goatview
added load statistics in goatview
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Sun, 08 Dec 2013 03:00:25 +0200 |
parents | f8bfc3177582 |
children | 9862541fdcf5 |
line diff
1.1 --- a/goatview/Makefile Sun Dec 08 02:27:32 2013 +0200 1.2 +++ b/goatview/Makefile Sun Dec 08 03:00:25 2013 +0200 1.3 @@ -1,3 +1,5 @@ 1.4 +PREFIX = /usr/local 1.5 + 1.6 src = $(wildcard src/*.c) 1.7 obj = $(src:.c=.o) 1.8 dep = $(obj:.o=.d) 1.9 @@ -33,3 +35,11 @@ 1.10 .PHONY: cleandep 1.11 cleandep: 1.12 rm -f $(dep) 1.13 + 1.14 +.PHONY: install 1.15 +install: $(bin) 1.16 + cp $(bin) $(DESTDIR)$(PREFIX)/bin/$(bin) 1.17 + 1.18 +.PHONY: uninstall 1.19 +uninstall: 1.20 + rm -f $(DESTDIR)$(PREFIX)/bin/$(bin)