aboutsummaryrefslogtreecommitdiffstats
path: root/FICS/build.mk
diff options
context:
space:
mode:
authorMarkus Uhlin <markus@nifty-networks.net>2023-12-19 00:02:38 +0100
committerMarkus Uhlin <markus@nifty-networks.net>2023-12-19 00:02:38 +0100
commit783144b9c8c5f7daf85749223eef8faf1ebba9d3 (patch)
tree141054aaca9a4d0c03da931ba5c4fa5ce586e3b5 /FICS/build.mk
parent1c04b2bec1156d85fd5050cd6cd62dc1a0d51dd3 (diff)
Added target
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