diff options
author | Markus Uhlin <markus@nifty-networks.net> | 2023-12-09 15:28:04 +0100 |
---|---|---|
committer | Markus Uhlin <markus@nifty-networks.net> | 2023-12-09 15:28:04 +0100 |
commit | 223dd8ae2796a226f612bae60f0d56cdd71efa89 (patch) | |
tree | 6a13c359c6abe3540231539b9e2d6b27fcd9663a /FICS | |
parent | dfffa2b072cf29e397a1a7fb10dcec329f63738e (diff) |
Added new make targets
Diffstat (limited to 'FICS')
-rw-r--r-- | FICS/build.mk | 18 |
1 files changed, 16 insertions, 2 deletions
diff --git a/FICS/build.mk b/FICS/build.mk index 2339655..1db40a6 100644 --- a/FICS/build.mk +++ b/FICS/build.mk @@ -31,12 +31,26 @@ OBJS = $(SRC_DIR)adminproc.o\ $(SRC_DIR)utils.o\ $(SRC_DIR)variable.o\ $(SRC_DIR)vers.o + +AP_OBJS = $(SRC_DIR)fics_addplayer.o\ + $(OBJS) +AP_LDFLAGS = +AP_LDLIBS = -lcrypt + +MR_OBJS = $(SRC_DIR)makerank.o +MR_LDFLAGS = +MR_LDLIBS = # dfree -# fics_addplayer -# makerank # memmove fics: $(OBJS) $(E) " LINK " $@ $(Q) $(CXX) $(CXXFLAGS) -o $@ $(OBJS) $(LDFLAGS) $(LDLIBS) +fics_addplayer: $(AP_OBJS) + strip --strip-symbol=main $(SRC_DIR)ficsmain.o + $(E) " LINK " $@ + $(Q) $(CXX) $(CXXFLAGS) -o $@ $(AP_OBJS) $(AP_LDFLAGS) $(AP_LDLIBS) +makerank: $(MR_OBJS) + $(E) " LINK " $@ + $(Q) $(CXX) $(CXXFLAGS) -o $@ $(MR_OBJS) $(MR_LDFLAGS) $(MR_LDLIBS) # EOF |