Debian Codegraph @

Makefile

raw ◀ ▶
1 Debian patch touch this file
1
2 VERSION=0.9.0
3
4 FLAGS=-O2 `pkg-config --libs --cflags libgtop-2.0` -Wall -lpthread -DWHICH_XMESSAGE=\"`which xmessage`\" -DVERSION=\"$(VERSION)\"
5
6 TAR=das_watchdog
7
8 DIST=$(TAR)-$(VERSION)
9
10
11 all:
12 which xmessage
•13 gcc $(LDFLAGS) $(CFLAGS) $(CPPFLAGS) das_watchdog.c -o das_watchdog $(FLAGS)
14 gcc $(LDFLAGS) $(CFLAGS) $(CPPFLAGS) test_rt.c -o test_rt
15
16 dist:
17 make clean
18 rm -fr $(DIST).tar.gz /tmp/$(DIST)
19 mkdir /tmp/$(DIST)
20 cp -a * /tmp/$(DIST)
21 mv /tmp/$(DIST) .
22 tar cvf $(DIST).tar $(DIST)
23 gzip $(DIST).tar
24 marcel_upload $(DIST).tar.gz
25
26 clean:
27 rm -f das_watchdog test_rt *~
28