tmakefile - spkp - Stacking wayland compositor
(HTM) git clone git://git.z3bra.org/spkp.git
(DIR) Log
(DIR) Files
(DIR) Refs
---
tmakefile (588B)
---
1 -include config.mk
2
3 all: sp\:kp
4
5 sp\:kp: sp\:kp.o
6 $(LD) $(LDFLAGS) sp:kp.o $(WL_LIBS) -o $@
7
8 sp\:kp.o: config.h xdg-shell-protocol.h
9 .c.o:
10 $(CC) $(CPPFLAGS) $(CFLAGS) $(WL_CFLAGS) -c $< -o $@
11
12 config.h: config.def.h
13 cp config.def.h $@
14
15 xdg-shell-protocol.h: $(WL_PROTO)/stable/xdg-shell/xdg-shell.xml
16 wayland-scanner server-header < $(WL_PROTO)/stable/xdg-shell/xdg-shell.xml > $@
17
18 clean:
19 rm -f sp:kp *.o
20
21 install: sp\:kp
22 mkdir -p $(DESTDIR)$(PREFIX)/bin
23 cp sp:kp $(DESTDIR)$(PREFIX)/bin/sp:kp
24 chmod 755 $(DESTDIR)$(PREFIX)/bin/sp:kp
25
26 uninstall:
27 rm $(DESTDIR)$(PREFIX)/bin/sp:kp