tmakefile - glazier - window management experiments
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) Submodules
(DIR) README
(DIR) LICENSE
---
tmakefile (552B)
---
1 include config.mk
2
3 all: glazier ewmh
4
5 glazier: glazier.o
6 $(LD) -o $@ glazier.o $(LDFLAGS)
7
8 ewmh: ewmh.o
9 $(LD) -o $@ ewmh.o $(LDFLAGS)
10
11 glazier.o: glazier.c config.h
12
13 config.h: config.def.h
14 cp config.def.h config.h
15
16 clean:
17 rm -f glazier ewmh *.o
18
19 install: glazier ewmh
20 mkdir -p $(DESTDIR)$(PREFIX)/bin
21 cp glazier $(DESTDIR)$(PREFIX)/bin/glazier
22 cp ewmh $(DESTDIR)$(PREFIX)/bin/ewmh
23 chmod 755 $(DESTDIR)$(PREFIX)/bin/glazier
24 chmod 755 $(DESTDIR)$(PREFIX)/bin/ewmh
25
26 uninstall:
27 rm $(DESTDIR)$(PREFIX)/bin/glazier
28 rm $(DESTDIR)$(PREFIX)/bin/ewmh