k9core

Unnamed repository
Log | Files | Refs | LICENSE

commit 14e32f35bcc376f7bffba15b821e26ab8d3d341b
parent 3843efd08f765ff51539e65b1c6cca84c05c2b93
Author: qorg11 <qorg@vxempire.xyz>
Date:   Tue,  2 Jun 2020 22:12:55 +0200

Improved makefile

Diffstat:
Msrc/Makefile | 18+++++++++++++-----
1 file changed, 13 insertions(+), 5 deletions(-)

diff --git a/src/Makefile b/src/Makefile @@ -1,7 +1,15 @@ -CCCOMPILER: cc +$CC = cc compile: - cc echo.c -o echo - cc touch.c -o touch - cc pwd.c -o pwd - cc cat.c -o cat + 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