Stop shipping gtf binary and manpage as server-xorg-core
[grml-scripts.git] / compile / Makefile
1 PROGS = ip-screen pong vmware-detect align cpu-screen dpkg_not_running reread_partition_table
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         $(CC) -Wall -o align align.c
33
34 reread_partition_table: reread_partition_table.c
35         diet $(CC) $(CFLAGS) -o $@ $^
36
37 clean:
38         rm -f $(PROGS)