aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman <[email protected]>2005-09-15 13:08:01 +0000
committerRichard M. Stallman <[email protected]>2005-09-15 13:08:01 +0000
commitf85d3f3fd8b487f0961df918c45a45fce440a96d (patch)
tree13918f9a8ef2abb0a001c574b1b694d2a7c0254b
parentee49e773ce9b465c116630899313dfc5e1e054b1 (diff)
(update-game-score.o): New target.
Compile and link this progranm separately. (update-game-score${EXEEXT}): Use GETOPTDEPTS.
-rw-r--r--lib-src/Makefile.in8
1 files changed, 5 insertions, 3 deletions
diff --git a/lib-src/Makefile.in b/lib-src/Makefile.in
index 274bbabe29..29fc2ec537 100644
--- a/lib-src/Makefile.in
+++ b/lib-src/Makefile.in
@@ -460,10 +460,12 @@ emacsclient${EXEEXT}: ${srcdir}/emacsclient.c ../src/config.h $(GETOPTDEPS)
hexl${EXEEXT}: ${srcdir}/hexl.c ../src/config.h
$(CC) ${ALL_CFLAGS} ${srcdir}/hexl.c $(LOADLIBES) -o hexl
-update-game-score${EXEEXT}: ${srcdir}/update-game-score.c ../src/config.h
- $(CC) ${ALL_CFLAGS} ${srcdir}/update-game-score.c \
+update-game-score${EXEEXT}: update-game-score.o $(GETOPTDEPS)
+ $(CC) ${LINK_CFLAGS} ${MOVE_FLAGS} update-game-score.o $(GETOPTOBJS) $(LOADLIBES) -o update-game-score
+
+update-game-score.o: ${srcdir}/update-game-score.c ../src/config.h $(GETOPT_H)
+ $(CC) -c ${CPP_CFLAGS} ${srcdir}/update-game-score.c \
-DHAVE_SHARED_GAME_DIR="\"$(gamedir)\"" \
- $(LOADLIBES) -o update-game-score
/* These are NOT included in INSTALLABLES or UTILITIES.
See ../src/Makefile.in. */