mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-26 01:20:25 +00:00
f5476be702
I always tell people to start building things by working on the thing that seems the most interesting right now. The most interesting thing here was an AST + simple interpreter, so that's where we start! There is no lexer or parser yet, we build an AST directly and then execute it in the interpreter, producing a return value. This seems like the start of something interesting. :^)
18 lines
327 B
Makefile
18 lines
327 B
Makefile
SRCS = $(wildcard *.cpp)
|
|
OBJS = ${SRCS:.cpp=.o}
|
|
APPS = ${SRCS:.cpp=}
|
|
|
|
EXTRA_CLEAN = $(APPS)
|
|
|
|
LIB_DEPS = Web GUI Gfx Audio Protocol IPC Thread Pthread Core PCIDB Markdown JS
|
|
|
|
include ../Makefile.common
|
|
|
|
all: $(APPS)
|
|
|
|
list:
|
|
@echo $(APPS)
|
|
|
|
$(APPS): %: %.o $(STATIC_LIB_DEPS)
|
|
@echo "LINK $@"
|
|
$(QUIET) $(CXX) -o $@ $< $(LDFLAGS)
|