Mercurial > ~dholland > hg > ag > index.cgi
view anagram/agcore/DEFS.mk @ 21:1c9dac05d040
Add lint-style FALLTHROUGH annotations to fallthrough cases.
(in the parse engine and thus the output code)
Document this, because the old output causes warnings with gcc10.
author | David A. Holland |
---|---|
date | Mon, 13 Jun 2022 00:04:38 -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