view anagram/agcore/DEFS.mk @ 2:4b08ee1ecb99

Adjust install notes to clarify that Wine applies only to the Windows build. (Thanks to Perry Metzger for test-driving.)
author David A. Holland
date Sun, 26 Apr 2009 17:58:26 -0400
parents 13d2b8934445
children
line wrap: on
line source

include $(BUILDTOP)/config.mk

SYNS=cf.syn pgg24.syn sums.syn
CGBIGEN=$(BUILDTOP)/cgbigen/cgbigen$(HOST_EXEEXT)

# Sources.

SRCS=\
	arrays.cpp \
	binsort.cpp \
	bpe3.cpp \
	bpu.cpp \
	cd.cpp \
	cf.cpp \
	checksum.cpp \
	config.cpp \
	configparam.cpp \
	coreinst.cpp \
	cra.cpp \
	cs.cpp \
	csexp.cpp \
	data.cpp \
	dict.cpp \
	engdef.cpp \
	error.cpp \
	ftpar.cpp \
	keyword.cpp \
	lexeme.cpp \
	nckwtr.cpp \
	operations.cpp \
	p.cpp \
	pgg24.cpp \
	q1a.cpp \
	q1glbl.cpp \
	q5.cpp \
	q8.cpp \
	rpk.cpp \
	rpz.cpp \
	rule.cpp \
	search.cpp \
	stacks.cpp \
	sums.cpp \
	symbol.cpp \
	textfile.cpp \
	token.cpp \
	tree.cpp \
	tsd.cpp \
	ut.cpp

LIB=agcore
LIBTYPE=LIB

# This should not be necessary (XXX)
INCDIRS.nogui=
INCDIRS.hasgui=$(TOP)/anagram/guisupport

INCDIRS=. $(TOP)/anagram/support $(TOP)/anagram/agcore $(TOP)/anagram/ag1 \
	$(INCDIRS.$(HASGUI))

include $(TOP)/mk/lib.mk

beforeall: engine.h
engine.h: $(SRCDIR)/engine.cgs $(CGBIGEN)
	@echo '        [CGBIGEN] engine.cgs'
	@$(CGBIGEN) $(SRCDIR)/engine.cgs engine.h

clean distclean: engclean
engclean:
	@echo '        [RM]      engine.h'
	@rm -f engine.h

.PHONY: beforeall clean distclean engclean