aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index eacea17..a93df43 100644
--- a/Makefile
+++ b/Makefile
@@ -3,7 +3,7 @@
CC = clang
CFLAGS = -std=c90 -Weverything
-all : ls pwd sort
+all : ls pwd sort whoami
ls : ls.c ls.h
$(CC) $(CFLAGS) ls.c -o ls
@@ -14,7 +14,10 @@ pwd : pwd.c pwd.h
sort : sort.c sort.h
$(CC) $(CFLAGS) sort.c -o sort
+whoami : whoami.c whoami.h
+ $(CC) $(CFLAGS) whoami.c -o whoami
+
clean :
rm -f -- *.o
- rm -f ls pwd sort
+ rm -f ls pwd sort whoami