summaryrefslogtreecommitdiff
path: root/DevTools/HackStudio/Makefile
blob: 97756dac10ecdfb77074525b3075ade5f9897f86 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
include ../../Makefile.common

OBJS = \
    Project.o \
    ProjectFile.o \
    TerminalWrapper.o \
    FindInFilesWidget.o \
    ProcessStateWidget.o \
    FormEditorWidget.o \
    FormWidget.o \
    CppLexer.o \
    Editor.o \
    EditorWrapper.o \
    Locator.o \
    Tool.o \
    CursorTool.o \
    WidgetTool.o \
    WidgetTreeModel.o \
    main.o

APP = HackStudio

DEFINES += -DUSERLAND

all: $(APP)

$(APP): $(OBJS)
	$(LD) -o $(APP) $(LDFLAGS) $(OBJS) -lvt -lhtml -lmarkdown -lgui -ldraw -lthread -lpthread -lcore -lc

.cpp.o:
	@echo "CXX $<"; $(CXX) $(CXXFLAGS) -o $@ -c $<

-include $(OBJS:%.o=%.d)

clean:
	@echo "CLEAN"; rm -f $(APP) $(OBJS) *.d