view anagram/agcore/DEFS.mk @ 5:7661c1604e49

Add additional operator delete calls gcc 10 asked for.
author David A. Holland
date Mon, 30 May 2022 23:32:56 -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