aboutsummaryrefslogtreecommitdiffstats
path: root/src/Makefile_Eolian_Files_Helper.am
blob: 727e0ad22971b23ee0a62f716693ad7069c96e1e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27

AM_V_EOL = $(am__v_EOL_@AM_V@)
am__v_EOL_ = $(am__v_EOL_@AM_DEFAULT_V@)
am__v_EOL_0 = @echo "  EOLIAN  " $@;

SUFFIXES = .eo .eo.c .eo.h .eot .eot.h


#disable rules for subdir builds to avoid recursive dependencies
../%.eo.c: %.eo ${_EOLIAN_GEN_DEP}
../%.eo.h: %.eo ${_EOLIAN_GEN_DEP}
../%.eot.h: %.eot ${_EOLIAN_GEN_DEP}

%.eo.c: %.eo ${_EOLIAN_GEN_DEP}
	$(AM_V_EOL) \
	$(MKDIR_P) $(@D); \
	$(EOLIAN_GEN) $(EOLIAN_FLAGS) $(EOLIAN_GEN_FLAGS) -gc -o c:$@ $<

%.eo.h: %.eo ${_EOLIAN_GEN_DEP}
	$(AM_V_EOL) \
	$(MKDIR_P) $(@D); \
	$(EOLIAN_GEN) $(EOLIAN_FLAGS) $(EOLIAN_GEN_FLAGS) -gh -o h:$@ $<

%.eot.h: %.eot ${_EOLIAN_GEN_DEP}
	$(AM_V_EOL) \
	$(MKDIR_P) $(@D); \
	$(EOLIAN_GEN) $(EOLIAN_FLAGS) $(EOLIAN_GEN_FLAGS) -gh -o h:$@ $<