Fixed makefile

This commit is contained in:
qorg11 2020-06-02 22:23:02 +02:00
parent 14e32f35bc
commit 36adf5463c
Signed by: qorg11
GPG Key ID: 343FC20A4ACA62B9
1 changed files with 11 additions and 11 deletions

View File

@ -1,15 +1,15 @@
$CC = cc CC = cc
compile: compile:
cc -c *.c $(CC) -c *.c
cc -o cat cat.o $(CC) -o cat cat.o
cc -o dirname dirname.o $(CC) -o dirname dirname.o
cc -o echo echo.o $(CC) -o echo echo.o
cc -o ln ln.o $(CC) -o ln ln.o
cc -o mkdir mkdir.o $(CC) -o mkdir mkdir.o
cc -o pwd pwd.o $(CC) -o pwd pwd.o
cc -o rmdir rmdir.o $(CC) -o rmdir rmdir.o
cc -o touch touch.o $(CC) -o touch touch.o
cc -o yes yes.o $(CC) -o yes yes.o
clean: clean:
rm *.o cat dirname echo ln mkdir pwd rmdir touch yes rm *.o cat dirname echo ln mkdir pwd rmdir touch yes