From 783144b9c8c5f7daf85749223eef8faf1ebba9d3 Mon Sep 17 00:00:00 2001 From: Markus Uhlin Date: Tue, 19 Dec 2023 00:02:38 +0100 Subject: Added target --- FICS/build.mk | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'FICS/build.mk') 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 -- cgit v1.2.3