More makefile improvements
This commit is contained in:
parent
e4758c0f9b
commit
f458b93c2b
|
@ -1,3 +1,5 @@
|
||||||
|
# This makefile is BSD compatiable: You can run it without gmake on most systems
|
||||||
|
|
||||||
CC = cc
|
CC = cc
|
||||||
|
|
||||||
compile:
|
compile:
|
||||||
|
@ -12,10 +14,7 @@ compile:
|
||||||
$(CC) -o touch touch.o
|
$(CC) -o touch touch.o
|
||||||
$(CC) -o yes yes.o
|
$(CC) -o yes yes.o
|
||||||
|
|
||||||
objclean: *.o
|
clean:
|
||||||
rm *.o
|
|
||||||
|
|
||||||
clean: objclean
|
|
||||||
rm *.o cat dirname echo ln mkdir pwd rmdir touch yes
|
rm *.o cat dirname echo ln mkdir pwd rmdir touch yes
|
||||||
|
|
||||||
.PHONY: clean objclean compile
|
.PHONY: clean objclean compile
|
||||||
|
|
Loading…
Reference in New Issue