summaryrefslogtreecommitdiff
path: root/Servers/TTYServer/Makefile
diff options
context:
space:
mode:
authorConrad Pankoff <deoxxa@fknsrs.biz>2019-08-12 21:24:11 +1000
committerAndreas Kling <awesomekling@gmail.com>2019-08-12 13:52:20 +0200
commit67a4256a983e38e11e628595818ab847f0e4c8c2 (patch)
tree1853d1bb6058386c79387d7210770c92a2dcdcea /Servers/TTYServer/Makefile
parent072bf8cbb9f573288b1f001c4e95357018b50a51 (diff)
downloadserenity-67a4256a983e38e11e628595818ab847f0e4c8c2.zip
Server: Add TTYServer, a rudimentary text console manager
This should probably call out to a login program at some point. Right now it just puts a root terminal on tty{1,2,3}. Remember not to leave your Serenity workstation unattended!
Diffstat (limited to 'Servers/TTYServer/Makefile')
-rw-r--r--Servers/TTYServer/Makefile23
1 files changed, 23 insertions, 0 deletions
diff --git a/Servers/TTYServer/Makefile b/Servers/TTYServer/Makefile
new file mode 100644
index 0000000000..b65d1a8e65
--- /dev/null
+++ b/Servers/TTYServer/Makefile
@@ -0,0 +1,23 @@
+include ../../Makefile.common
+
+TTYSERVER_OBJS = \
+ main.o
+
+APP = TTYServer
+OBJS = $(TTYSERVER_OBJS)
+
+DEFINES += -DUSERLAND
+
+all: $(APP)
+
+$(APP): $(OBJS)
+ $(LD) -o $(APP) $(LDFLAGS) $(OBJS) -lc -lcore
+
+.cpp.o:
+ @echo "CXX $<"; $(CXX) $(CXXFLAGS) -o $@ -c $<
+
+-include $(OBJS:%.o=%.d)
+
+clean:
+ @echo "CLEAN"; rm -f $(APP) $(OBJS) *.d
+