]> Dogcows Code - chaz/openbox/blob - build/Makefile.data
dont resize snap windows with size increments
[chaz/openbox] / build / Makefile.data
1 include build/Makefile.incl
2
3 dir = data
4
5 files = rc3
6
7 srcdir := $(srcdir)/$(dir)
8 files := $(addprefix $(srcdir)/,$(files))
9
10 all:
11
12 $(target): $(objects)
13 $(AR) r $@ $^
14
15 $(dir)/%.o: $(srcdir)/%.c $(depdir)/%.d
16 $(COMPILE) -c -o $@ $<
17
18 $(depdir)/%.d: $(srcdir)/%.c
19 @echo Building dependancies for $<
20 @$(INSTALL) -d $(depdir)
21 @$(DEPCOMPILE) -w -MM -MF $@ -MQ $(<:.c=.o) $<
22
23 install:
24 $(INSTALL) -d $(DESTDIR)$(rcdir)
25 $(INSTALL) -m 644 $(files) $(DESTDIR)$(rcdir)
26
27 uninstall:
28 for i in $(notdir files); do \
29 $(RM) $(DESTDIR)$(rcdir)/$$i; \
30 done
31 -rmdir $(DESTDIR)$(rcdir)
32
33 clean:
34 $(RM) $(srcdir)/*\~
35
36 distclean:
37
38 .PHONY: all install uninstall clean distclean
This page took 0.033618 seconds and 4 git commands to generate.