commit f458b93c2b54973eb0e9b238b0d1d0b8242ffeb9
parent e4758c0f9b0dac00ee92924b1408509555c00769
Author: call-cc <callcc@vxempire.xyz>
Date: Tue, 2 Jun 2020 16:36:37 -0400
More makefile improvements
Diffstat:
1 file changed, 3 insertions(+), 4 deletions(-)
diff --git a/src/Makefile b/src/Makefile
@@ -1,3 +1,5 @@
+# This makefile is BSD compatiable: You can run it without gmake on most systems
+
CC = cc
compile:
@@ -12,10 +14,7 @@ compile:
$(CC) -o touch touch.o
$(CC) -o yes yes.o
-objclean: *.o
- rm *.o
-
-clean: objclean
+clean:
rm *.o cat dirname echo ln mkdir pwd rmdir touch yes
.PHONY: clean objclean compile