diff options
author | Holden Rohrer <hr@hrhr.dev> | 2020-04-21 23:18:14 -0400 |
---|---|---|
committer | Holden Rohrer <hr@hrhr.dev> | 2020-04-21 23:18:14 -0400 |
commit | 9c3dd7f2d013653fcc0ed50903a35193697150d3 (patch) | |
tree | 0d8a1fcc2a126897c5ab4f2a5f409452a78a5861 /Makefile | |
parent | 54724280736a862a530ad0d2e5dbe55e1e18e182 (diff) |
made Makefile more posix-y
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) |