aboutsummaryrefslogtreecommitdiffstats
path: root/build-targets.mk
diff options
context:
space:
mode:
Diffstat (limited to 'build-targets.mk')
-rw-r--r--build-targets.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/build-targets.mk b/build-targets.mk
index fb8edc0..aaff2d0 100644
--- a/build-targets.mk
+++ b/build-targets.mk
@@ -1,5 +1,5 @@
# main project target
-$(BUILD_PATH)/main.o: main.cpp
+$(BUILD_PATH)/main.o: $(SRCROOT)/main.cpp
$(SILENT_CXX) $(CXX) $(CFLAGS) $(CXXFLAGS) $(LIBMAPLE_INCLUDES) $(WIRISH_INCLUDES) -o $@ -c $<
$(BUILD_PATH)/libmaple.a: $(BUILDDIRS) $(TGT_BIN)