aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authors-over-42023-06-13 17:33:42 -0400
committers-over-42023-06-13 17:33:42 -0400
commit11fbe0ec9b8bf51d237fefee9254e68d3b22259b (patch)
tree6478305264beba061b9789e8bd679c2a43196183 /Makefile
parent5665403d0b1c1f86d9b62673620e16908213c705 (diff)
Makefile
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 3 insertions, 3 deletions
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."