Provide a Raw version of ShowNodeCnt to avoid more #ifdef's.
[gnushogi.git] / gnushogi / Makefile.in
index b07df75..5934c4a 100644 (file)
@@ -1,9 +1,11 @@
 #
 # Makefile for GNU Shogi
 #
-# Copyright (c) 2012 Free Software Foundation
+# Copyright (c) 1993, 1994 Matthias Mutz
+# Copyright (c) 1998, 1999 Michael Vanier and the Free Software Foundation
 #
 # GNU Shogi is based on GNU Chess
+# Copyright (c) 1992 Free Software Foundation
 #
 # This file is part of GNU Shogi.
 #
@@ -69,7 +71,7 @@ CC          = @CC@
 CWARNINGS   = @WARNINGS@
 CEXTRAFLAGS = @CEXTRAFLAGS@
 CFLAGS      = @CFLAGS@ $(CEXTRAFLAGS) $(CWARNINGS) -I$(ROOT) -I@top_builddir@
-
+LDFLAGS     = @LDFLAGS@
 
 # The hashfile is a record of positions seen. It is used by
 # GNU Shogi to avoid making the same mistakes, a form of learning.
@@ -134,13 +136,13 @@ PAT2INCFILES    = $(COMMONFILES) makepattern.o pat2inc.o
 #
 
 gnushogi:
-       $(CC) $(CFLAGS) -o gnushogi $(GNUSHOGI_FILES) $(LCURSES) $(LIBS)
+       $(CC) $(CFLAGS) -o gnushogi $(GNUSHOGI_FILES) $(LDFLAGS) $(LCURSES) $(LIBS)
 
 pat2inc:
-       $(CC) $(CFLAGS) -o pat2inc $(PAT2INCFILES) $(LCURSES) $(LIBS)
+       $(CC) $(CFLAGS) -o pat2inc $(PAT2INCFILES) $(LDFLAGS) $(LCURSES) $(LIBS)
 
 sizetest:
-       $(CC) $(CFLAGS) -o sizetest sizetest.o $(LIBS)
+       $(CC) $(CFLAGS) -o sizetest sizetest.o $(LDFLAGS) $(LIBS)
 
 profile:
        $(MAKE) -f Makefile.profile gnushogi