aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2016-03-17 23:54:19 +1300
committerTom Ryder <tom@sanctum.geek.nz>2016-03-17 23:54:19 +1300
commit52306a7f6ac1dd89a0dad17024db222dd36e80a9 (patch)
tree5727030d122490ebfb5fd55b898139007266bd82 /Makefile
parentUse sizeof rather than constant (diff)
downloadtunics-52306a7f6ac1dd89a0dad17024db222dd36e80a9.tar.gz
tunics-52306a7f6ac1dd89a0dad17024db222dd36e80a9.zip
Wrote whoami(1)
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