mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-03 23:25:20 +00:00
Projects now contain a set of TextDocument objects. Each TextDocument represents a member file in the project. TextDocuments may not have their file contents loaded at all times, but they will be loaded on demand when calling TextDocument::contents(). "Find in files" works by iterating over the documents in the project and calling find(needle) on each one. The return value from find() is a vector of line numbers where the needle was found. This is obviously going to need a bunch more work. :^)
26 lines
381 B
Makefile
26 lines
381 B
Makefile
include ../../Makefile.common
|
|
|
|
OBJS = \
|
|
Project.o \
|
|
TextDocument.o \
|
|
TerminalWrapper.o \
|
|
main.o
|
|
|
|
APP = HackStudio
|
|
|
|
DEFINES += -DUSERLAND
|
|
|
|
all: $(APP)
|
|
|
|
$(APP): $(OBJS)
|
|
$(LD) -o $(APP) $(LDFLAGS) $(OBJS) -lvt -lgui -ldraw -lcore -lc
|
|
|
|
.cpp.o:
|
|
@echo "CXX $<"; $(CXX) $(CXXFLAGS) -o $@ -c $<
|
|
|
|
-include $(OBJS:%.o=%.d)
|
|
|
|
clean:
|
|
@echo "CLEAN"; rm -f $(APP) $(OBJS) *.d
|
|
|