diff options
author | s-over-4 | 2023-06-13 17:33:42 -0400 |
---|---|---|
committer | s-over-4 | 2023-06-13 17:33:42 -0400 |
commit | 11fbe0ec9b8bf51d237fefee9254e68d3b22259b (patch) | |
tree | 6478305264beba061b9789e8bd679c2a43196183 /Makefile | |
parent | 5665403d0b1c1f86d9b62673620e16908213c705 (diff) |
Makefile
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -6,20 +6,20 @@ sources := $(filter-out src/parser.c, $(sources)) # exclude the incomplete pa objects := $(sources:.c=.o) $(name): $(objects) - $(cc) $(objects) $(flags) -o ./$(name) + $(cc) $(objects) $(flags) -o ./$(name).out %.o: %.c include/%.h $(cc) -c $(flags) $< -o $@ install: make - cp ./$(name) /usr/local/bin/$(name) + cp ./$(name).out /usr/local/bin/$(name) uninstall: rm -f /usr/local/bin/$(name) clean: - rm -f ./$(name) ./src/*.o + rm -f ./$(name).out ./src/*.o me: @[ "$(USER)" = "root" ] && echo "Okay." || echo "What? Make it yourself." |