summaryrefslogtreecommitdiff
path: root/Userland/Makefile
diff options
context:
space:
mode:
authorAndreas Kling <awesomekling@gmail.com>2018-10-25 21:39:37 +0200
committerAndreas Kling <awesomekling@gmail.com>2018-10-25 21:39:37 +0200
commit3faaa3e04a3eef72554e9235cb81327642b62ab7 (patch)
tree688020df32805519700a13e2371b92560a57e3c6 /Userland/Makefile
parentdc6f57f19cff71c6bd83a42fd58a93adbbeb70cb (diff)
downloadserenity-3faaa3e04a3eef72554e9235cb81327642b62ab7.zip
Add /bin/false and /bin/true for fun. :^)
Diffstat (limited to 'Userland/Makefile')
-rw-r--r--Userland/Makefile14
1 files changed, 12 insertions, 2 deletions
diff --git a/Userland/Makefile b/Userland/Makefile
index 1615f689b5..3631838c71 100644
--- a/Userland/Makefile
+++ b/Userland/Makefile
@@ -5,7 +5,9 @@ OBJS = \
ls.o \
pwd.o \
sleep.o \
- date.o
+ date.o \
+ true.o \
+ false.o
APPS = \
id \
@@ -14,7 +16,9 @@ APPS = \
ls \
pwd \
sleep \
- date
+ date \
+ true \
+ false
ARCH_FLAGS =
STANDARD_FLAGS = -std=c++17 -nostdinc++ -nostdlib
@@ -55,6 +59,12 @@ sleep: sleep.o
date: date.o
$(LD) -o $@ $(LDFLAGS) $< ../LibC/LibC.a
+true: true.o
+ $(LD) -o $@ $(LDFLAGS) $< ../LibC/LibC.a
+
+false: false.o
+ $(LD) -o $@ $(LDFLAGS) $< ../LibC/LibC.a
+
.cpp.o:
@echo "CXX $<"; $(CXX) $(CXXFLAGS) -o $@ -c $<