From 36adf5463c5a22abbc190e208bd54900c9ce272f Mon Sep 17 00:00:00 2001 From: qorg11 Date: Tue, 2 Jun 2020 22:23:02 +0200 Subject: [PATCH] Fixed makefile --- src/Makefile | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/src/Makefile b/src/Makefile index 2a7641e..253a98c 100644 --- 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