summaryrefslogtreecommitdiff
path: root/src/tokeniser/Makefile
blob: aaa089bd6f8139457774b53144ff719cb7f44c21 (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 build/makefiles/Makefile.subdir