view anagram/guisupport/DEFS.mk @ 15:f5acaf0c8a29

Don't cast through "volatile int". Causes a gcc warning nowadays. XXX: should put something else back here to frighten the optimizer
author David A. Holland
date Tue, 31 May 2022 01:00:55 -0400
parents 13d2b8934445
children
line wrap: on
line source

include $(BUILDTOP)/config.mk

SYNS=profile.syn
HELPGEN=$(BUILDTOP)/helpgen/helpgen$(HOST_EXEEXT)

# Sources.
SRCS=\
	action.cpp \
	anom.cpp \
	auxmenus.cpp \
	brt.cpp \
	charsdc.cpp \
	conflictdc.cpp \
	conflicttrc.cpp \
	coveragedc.cpp \
	dc.cpp \
	errordc.cpp \
	ftpardc.cpp \
	gsinst.cpp \
	help.cpp \
	items.cpp \
	keytabdc.cpp \
	proctabdc.cpp \
	profile.cpp \
	readprofile.cpp \
	redmenudc.cpp \
	ruletabdc.cpp \
	stexpdc.cpp \
	symtabdc.cpp \
	tokentabdc.cpp \
	tracedc.cpp \
	wdata.cpp \
	windowreg.cpp \
	wm1.cpp \
	ws.cpp

LIB=guisupport
LIBTYPE=LIB

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

include $(TOP)/mk/lib.mk

beforeall: helpdata.h
helpdata.h: $(SRCDIR)/helpdata.src $(HELPGEN)
	@echo '        [HELPGEN] helpdata.src'
	@$(HELPGEN) $(SRCDIR)/helpdata.src helpdata.h

clean distclean: helpclean
helpclean:
	@echo '        [RM]      helpdata.h'
	@rm -f helpdata.h

.PHONY: beforeall clean distclean helpclean