#
# Copyright (c) 1993, 1994 Matthias Mutz
# Copyright (c) 1998, 1999 Michael Vanier and the Free Software Foundation
+# Copyright (c) 2008, 2013, 2014 Yann Dirson and the Free Software Foundation
#
# GNU Shogi is based on GNU Chess
# Copyright (c) 1992 Free Software Foundation
# patterns may be described in order to support the correct order of moves.
PATTERNFILE=$(ROOT)/misc/$(PROGNAME).pat
-PATTERN = -DPATTERNFILE=\"$(PATTERNFILE)\"
all:
# pattern textfile must be used.
makepattern.o: makepattern.c
- $(CC) $(CFLAGS) $(PATTERN) -c $<
+ $(CC) $(CFLAGS) -c $<
pattern.o: pattern.c
$(CC) $(CFLAGS) -c $<
$(CC) $(CFLAGS) -c $<
pattern.inc: $(PATTERNFILE) pat2inc
- ./pat2inc
+ ./pat2inc $< $@
#
# Other targets.