summaryrefslogtreecommitdiff
path: root/src/tokeniser/Makefile
blob: c3915028a4090773d3d9ad37c214fe7a5d078391 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# Sources
DIR_SOURCES := entities.c tokeniser.c

$(DIR)entities.c: $(DIR)entities.inc

$(DIR)entities.inc: build/make-entities.pl build/Entities
	$(VQ)$(ECHO) "ENTITIES: $@"
	$(Q)$(PERL) build/make-entities.pl

ifeq ($(findstring clean,$(MAKECMDGOALS)),clean)
  CLEAN_ITEMS := $(CLEAN_ITEMS) $(DIR)entities.inc
endif

include $(NSBUILD)/Makefile.subdir