commit 891b80740a0221c062f63cdb588e63ed04afd867
parent cfca72b93a19ad2bbafbd9f97eefe83ad941edd5
Author: aabacchus <ben@bvnf.space>
Date: Wed, 15 Sep 2021 02:19:31 +0100
Makefile: add some other targets, sort
Diffstat:
1 file changed, 7 insertions(+), 2 deletions(-)
diff --git a/src/Makefile b/src/Makefile
@@ -9,10 +9,13 @@ compile:
mkdir -p bin
$(CC) $(XCFLAGS) -c *.c nouserland/*.c
$(CC) -o bin/cat cat.o
+ $(CC) -o bin/chgrp chgrp.o
$(CC) -o bin/chmod chmod.o
$(CC) -o bin/chown chown.o
$(CC) -o bin/cp cp.o
+ $(CC) -o bin/date date.o
$(CC) -o bin/dirname dirname.o
+ $(CC) -o bin/du du.o
$(CC) -o bin/echo echo.o
$(CC) -o bin/exec exec.o
$(CC) -o bin/false false.o
@@ -33,17 +36,19 @@ compile:
$(CC) -o bin/rm rm.o
$(CC) -o bin/rmdir rmdir.o
$(CC) -o bin/shred shred.o
- $(CC) -o bin/sleep sleep.o
+ $(CC) -o bin/sleep sleep.o
+ $(CC) -o bin/stat stat.o
$(CC) -o bin/sync sync.o
+ $(CC) -o bin/tee tee.o
$(CC) -o bin/touch touch.o
$(CC) -o bin/true true.o
$(CC) -o bin/tty tty.o
$(CC) -o bin/umount umount.o
+ $(CC) -o bin/uname uname.o
$(CC) -o bin/unlink unlink.o
$(CC) -o bin/wc wc.o
$(CC) -o bin/whoami whoami.o
$(CC) -o bin/yes yes.o
- $(CC) -o bin/uname uname.o
clean:
rm -f *.o