vmware-detect.c: added doc
[grml-scripts.git] / compile / Makefile
1 PROGS = ip-screen pong vmware-detect align cpu-screen dpkg_not_running reread_partition_table gtf
2
3 #ifndef CFLAGS
4 CFLAGS = -O2 -Wall -s
5 #endif
6
7 #ifndef LDFALGS
8 LDFLAGS = -s
9 #endif
10
11 #ifndef CC
12 CC = gcc
13 #endif
14
15 all: $(PROGS)
16
17 ip-screen: ip-screen.c
18         diet $(CC) $(CFLAGS) -o $@ $^
19
20 cpu-screen: cpu-screen.c
21         diet $(CC) $(CFLAGS) -o $@ $^
22
23 pong: pong.c
24
25 vmware-detect: vmware-detect.c
26         diet $(CC) $(CFLAGS) -o $@ $^
27
28 dpkg_not_running: dpkg_not_running.c
29         diet $(CC) $(CFLAGS) -o $@ $^
30
31 align: align.c
32
33 reread_partition_table: reread_partition_table.c
34         diet $(CC) $(CFLAGS) -o $@ $^
35
36 gtf: gtf.c
37         $(CC) gtf.c -lm -Wall -o gtf
38
39 clean:
40         rm -f $(PROGS)