]> Dogcows Code - chaz/yoink/blob - src/moof/rules.mk
fixed documentation about where to find licenses
[chaz/yoink] / src / moof / rules.mk
1
2 #
3 # Define rules and targets for libmoof.
4 #
5
6 objects = $(patsubst %.c,$(builddir)/%.o,$(patsubst %.cc,$(builddir)/%.o,$(wildcard $d/*.c $d/*.cc)))
7 $(objects): TGT_CFLAGS := -I$b -I$b/.. -I$d -I$d/..
8 $(objects): config.h | $b
9
10 library = $b/libmoof.a
11 $(library): $(objects)
12 $(Q)$(ar)
13
14 ifeq (true,$(pch))
15 pchfile := $b/precompile.hh
16 exec += $(pchfile) $(pchfile).gch
17 $(pchfile).gch: TGT_CFLAGS := -I$b -I$b/.. -I$d -I$d/..
18 $(pchfile).gch: $(pchfile)
19 $(pchfile): config.mk | $b
20 $(objects): $(pchfile).gch
21 endif
22
23 exec += $(objects) $(library)
24
This page took 0.035731 seconds and 5 git commands to generate.