commit 36adf5463c5a22abbc190e208bd54900c9ce272f parent 14e32f35bcc376f7bffba15b821e26ab8d3d341b Author: qorg11 <qorg@vxempire.xyz> Date: Tue, 2 Jun 2020 22:23:02 +0200 Fixed makefile Diffstat:
M | src/Makefile | | | 22 | +++++++++++----------- |
1 file changed, 11 insertions(+), 11 deletions(-)
diff --git a/src/Makefile b/src/Makefile @@ -1,15 +1,15 @@ -$CC = cc +CC = cc compile: - cc -c *.c - cc -o cat cat.o - cc -o dirname dirname.o - cc -o echo echo.o - cc -o ln ln.o - cc -o mkdir mkdir.o - cc -o pwd pwd.o - cc -o rmdir rmdir.o - cc -o touch touch.o - cc -o yes yes.o + $(CC) -c *.c + $(CC) -o cat cat.o + $(CC) -o dirname dirname.o + $(CC) -o echo echo.o + $(CC) -o ln ln.o + $(CC) -o mkdir mkdir.o + $(CC) -o pwd pwd.o + $(CC) -o rmdir rmdir.o + $(CC) -o touch touch.o + $(CC) -o yes yes.o clean: rm *.o cat dirname echo ln mkdir pwd rmdir touch yes