summaryrefslogtreecommitdiff
path: root/Userland/Makefile
diff options
context:
space:
mode:
authorAndreas Kling <awesomekling@gmail.com>2019-02-21 13:26:40 +0100
committerAndreas Kling <awesomekling@gmail.com>2019-02-21 13:26:40 +0100
commit7d288aafb25f44a63cf1e4c3e262b4906bc12b21 (patch)
treed35e02d7a9441889cab5d3455e12a341f3110a0d /Userland/Makefile
parentb6115ee5b7aaccc6c8597534cc64d339e038f578 (diff)
downloadserenity-7d288aafb25f44a63cf1e4c3e262b4906bc12b21.zip
Kernel: Add link() syscall to create hard links.
This accidentally grew into a little bit of VFS cleanup as well. Also add a simple /bin/ln implementation to exercise it.
Diffstat (limited to 'Userland/Makefile')
-rw-r--r--Userland/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/Userland/Makefile b/Userland/Makefile
index 6868ce21a4..4759c51e24 100644
--- a/Userland/Makefile
+++ b/Userland/Makefile
@@ -27,6 +27,7 @@ OBJS = \
dmesg.o \
chmod.o \
top.o \
+ ln.o \
rm.o
APPS = \
@@ -59,6 +60,7 @@ APPS = \
dmesg \
chmod \
top \
+ ln \
rm
ARCH_FLAGS =
@@ -169,6 +171,9 @@ chmod: chmod.o
top: top.o
$(LD) -o $@ $(LDFLAGS) $< ../LibC/LibC.a
+ln: ln.o
+ $(LD) -o $@ $(LDFLAGS) $< ../LibC/LibC.a
+
.cpp.o:
@echo "CXX $<"; $(CXX) $(CXXFLAGS) -o $@ -c $<