aboutsummaryrefslogtreecommitdiffstats
path: root/FICS/build.mk
diff options
context:
space:
mode:
Diffstat (limited to 'FICS/build.mk')
-rw-r--r--FICS/build.mk8
1 files changed, 5 insertions, 3 deletions
diff --git a/FICS/build.mk b/FICS/build.mk
index 320a8f2..572f19f 100644
--- a/FICS/build.mk
+++ b/FICS/build.mk
@@ -38,15 +38,17 @@ MR_OBJS = $(SRC_DIR)makerank.o
# dfree
# memmove
-fics: $(OBJS)
+$(INCLUDE_DIR)ficspaths.h:
+ $(ROOT)ficspaths.sh "$(FICS_HOME)"
+fics: $(INCLUDE_DIR)ficspaths.h $(OBJS)
$(E) " LINK " $@
$(Q) $(CXX) $(CXXFLAGS) -o $@ $(OBJS) $(LDFLAGS) $(LDLIBS)
-fics_addplayer: $(OBJS) $(AP_OBJS)
+fics_addplayer: $(INCLUDE_DIR)ficspaths.h $(OBJS) $(AP_OBJS)
strip --strip-symbol=main $(SRC_DIR)ficsmain.o
$(E) " LINK " $@
$(Q) $(CXX) $(CXXFLAGS) -o $@ $(OBJS) \
$(AP_OBJS) $(AP_LDFLAGS) $(AP_LDLIBS)
-makerank: $(MR_OBJS)
+makerank: $(INCLUDE_DIR)ficspaths.h $(MR_OBJS)
$(E) " LINK " $@
$(Q) $(CXX) $(CXXFLAGS) -o $@ $(MR_OBJS) $(MR_LDFLAGS) $(MR_LDLIBS)
# EOF