diff options
Diffstat (limited to 'hackvr_term/Makefile')
-rw-r--r-- | hackvr_term/Makefile | 17 |
1 files changed, 15 insertions, 2 deletions
diff --git a/hackvr_term/Makefile b/hackvr_term/Makefile index dd063f4..fb33227 100644 --- a/hackvr_term/Makefile +++ b/hackvr_term/Makefile @@ -1,6 +1,19 @@ -CFLAGS=-pedantic +.PHONY: all clean install uninstall -hackvr_term: hackvr_term.c libtmt/tmt.c +all: hackvr_term + +hackvr_term.o: CFLAGS=-pedantic -Wall +libtmt/tmt.o: CFLAGS=-pedantic + +hackvr_term: hackvr_term.o libtmt/tmt.o clean: + rm *.o + rm */*.o rm hackvr_term + +install: + install hackvr_term $(PREFIX)/bin/hackvr_term + +uninstall: + [ -e $(PREFIX)/bin/hackvr_term ] && rm -i $(PREFIX)/bin/hackvr_term || echo "nothing to uninstall" |