diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 15 |
1 files changed, 8 insertions, 7 deletions
@@ -1,9 +1,10 @@ -timer: timer.c bin/ - gcc -o bin/timer timer.c +.POSIX: -bin/: - mkdir bin +OBJ = timer +BIN = /usr/local/bin +all: $(OBJ) -.PHONY: install -install: - cp bin/* /usr/local/bin +timer: timer.c + +install: all + cp $(OBJ) $(BIN) |