# 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.