]> code.delx.au - gnu-emacs/commitdiff
(update-game-score.o): New target.
authorRichard M. Stallman <rms@gnu.org>
Thu, 15 Sep 2005 13:08:01 +0000 (13:08 +0000)
committerRichard M. Stallman <rms@gnu.org>
Thu, 15 Sep 2005 13:08:01 +0000 (13:08 +0000)
Compile and link this progranm separately.
(update-game-score${EXEEXT}): Use GETOPTDEPTS.

lib-src/Makefile.in

index 274bbabe29f29d1eb36975925ad8596d87255e34..29fc2ec53746f8724abfcdb7a9ff82f95fc1d4bd 100644 (file)
@@ -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.  */