mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 19:58:11 +00:00

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!
23 lines
336 B
Makefile
23 lines
336 B
Makefile
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
|
|
|