Introduction
Introduction Statistics Contact Development Disclaimer Help
tMakefile - droid4-sys - Droid4 tools
git clone git://parazyd.org/droid4-sys.git | https://git.parazyd.org/droid4-sys
Log
Files
Refs
LICENSE
---
tMakefile (517B)
---
1 .POSIX:
2
3 include config.mk
4
5 BIN = backlight
6 SCR = \
7 powerkey \
8 monoff
9 OBJ = $(BIN:=.o)
10
11 all: $(BIN)
12
13 $(OBJ): config.mk
14
15 $(BIN): $(OBJ)
16 $(CC) $(OBJ) $(LDFLAGS) -o $@
17
18 clean:
19 rm -f $(BIN) $(OBJ)
20
21 install: all
22 mkdir -p $(DESTDIR)$(PREFIX)/bin
23 cp -f $(BIN) $(DESTDIR)$(PREFIX)/bin
24 chmod 4711 $(DESTDIR)$(PREFIX)/bin/$(BIN)
25 cp -f $(SCR) $(DESTDIR)$(PREFIX)/bin
26 for i in $(SCR); do \
27 chmod 755 $(DESTDIR)$(PREFIX)/bin/$$i; \
28 done
29
30 uninstall:
31 rm -rf $(DESTDIR)$(PREFIX)/bin/$(BIN)
32
33 .c.o:
34 $(CC) $(CFLAGS) -c $<
You are viewing proxied material from parazyd.org. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.