mirror of
https://github.com/RGBCube/serenity
synced 2025-07-28 03:37:35 +00:00
Demos: Add a HelloWorld2 demo.
This is a simple test app with its UI generated from a VisualBuilder form. The name is probably silly, but who cares. :^)
This commit is contained in:
parent
b3d431e390
commit
0bf5c6fa3a
6 changed files with 58 additions and 0 deletions
27
Demos/HelloWorld2/Makefile
Normal file
27
Demos/HelloWorld2/Makefile
Normal file
|
@ -0,0 +1,27 @@
|
|||
include ../../Makefile.common
|
||||
|
||||
OBJS = \
|
||||
main.o
|
||||
|
||||
APP = HelloWorld2
|
||||
|
||||
DEFINES += -DUSERLAND
|
||||
|
||||
all: $(APP)
|
||||
|
||||
main.cpp: UI_HelloWorld2.h
|
||||
|
||||
UI_HelloWorld2.h: HelloWorld2.frm
|
||||
../../DevTools/FormCompiler/FormCompiler $< > $@
|
||||
|
||||
$(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 $(APP) $(OBJS) *.d
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue