]> Dogcows Code - chaz/openbox/blob - build/Makefile.render
show a popup with the focus target while cycling
[chaz/openbox] / build / Makefile.render
1 include build/Makefile.incl
2
3 dir = render
4
5 CPPFLAGS += $(GLIB_CFLAGS) $(XFT_CFLAGS) -DG_LOG_DOMAIN=\"Render\"
6
7 target = librender.a
8 sources = color.c font.c gradient.c image.c mask.c render.c test.c
9
10 srcdir := $(srcdir)/$(dir)
11 target := $(addprefix $(dir)/, $(target))
12 objects := $(addprefix $(dir)/, $(sources:.c=.o))
13 sources := $(addprefix $(srcdir)/, $(sources))
14 deps := $(addprefix $(depdir)/, $(objects:.o=.d))
15 depdir := $(depdir)/$(dir)
16
17 all: $(target)
18
19 $(target): $(objects)
20 $(LINK) -static -o $@ $^ $(LDFLAGS)
21
22 $(dir)/%.o: $(srcdir)/%.c $(depdir)/%.d
23 $(LTCOMPILE) -c -o $@ $<
24
25 $(depdir)/%.d: $(srcdir)/%.c
26 @echo Building dependancies for $<
27 @$(INSTALL) -d $(depdir)
28 @$(DEPCOMPILE) -w -MM -MF $@ -MQ $(<:.c=.o) $<
29
30 install:
31
32 uninstall:
33
34 clean:
35 $(RM) $(target) $(objects) $(srcdir)/*\~
36
37 distclean:
38
39 -include $(deps)
40
41 .PHONY: all install uninstall clean distclean
This page took 0.03239 seconds and 4 git commands to generate.