1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-28 13:37:45 +00:00

HelloWorld: Add a simple "Hello World!" app showing the basics.

This also introduces a Demos/ directory where I hope to add cool things.
This commit is contained in:
Andreas Kling 2019-05-08 01:18:36 +02:00
parent 1930d48a38
commit eaf03d4ddb
5 changed files with 65 additions and 0 deletions

22
Demos/HelloWorld/Makefile Normal file
View file

@ -0,0 +1,22 @@
include ../../Makefile.common
OBJS = \
main.o
APP = HelloWorld
DEFINES += -DUSERLAND
all: $(APP)
$(APP): $(OBJS)
$(LD) -o $(APP) $(LDFLAGS) $(OBJS) -lgui -lcore -lc
.cpp.o:
@echo "CXX $<"; $(CXX) $(CXXFLAGS) -o $@ -c $<
-include $(OBJS:%.o=%.d)
clean:
@echo "CLEAN"; rm -f $(APPS) $(OBJS) *.d