summaryrefslogtreecommitdiff
path: root/DevTools/HackStudio
diff options
context:
space:
mode:
Diffstat (limited to 'DevTools/HackStudio')
-rw-r--r--DevTools/HackStudio/Makefile20
1 files changed, 3 insertions, 17 deletions
diff --git a/DevTools/HackStudio/Makefile b/DevTools/HackStudio/Makefile
index b34672084c..582332f226 100644
--- a/DevTools/HackStudio/Makefile
+++ b/DevTools/HackStudio/Makefile
@@ -1,5 +1,3 @@
-include ../../Makefile.common
-
OBJS = \
Project.o \
ProjectFile.o \
@@ -18,20 +16,8 @@ OBJS = \
WidgetTreeModel.o \
main.o
-APP = HackStudio
-
-DEFINES += -DUSERLAND
-
-all: $(APP)
+PROGRAM = HackStudio
-$(APP): $(OBJS)
- $(LD) -o $(APP) $(LDFLAGS) $(OBJS) -lvt -lhtml -lprotocol -lipc -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
+LDFLAGS = -lvt -lhtml -lprotocol -lipc -lmarkdown -lgui -ldraw -lthread -lpthread -lcore -lc
+include ../../Makefile.common