From 11fbe0ec9b8bf51d237fefee9254e68d3b22259b Mon Sep 17 00:00:00 2001 From: s-over-4 Date: Tue, 13 Jun 2023 17:33:42 -0400 Subject: Makefile --- Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index e45eff1..b076343 100644 --- a/Makefile +++ b/Makefile @@ -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." -- cgit v1.2.3