Split grml-scripts into grml-scripts and grml-scripts-core
[grml-scripts.git] / compile / Makefile
1 PROGS = pong vmware-detect align 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 pong: pong.c
18
19 vmware-detect: vmware-detect.c
20         diet $(CC) $(CFLAGS) -o $@ $^
21
22 dpkg_not_running: dpkg_not_running.c
23         diet $(CC) $(CFLAGS) -o $@ $^
24
25 align: align.c
26         $(CC) -Wall -o align align.c
27
28 reread_partition_table: reread_partition_table.c
29         diet $(CC) $(CFLAGS) -o $@ $^
30
31 clean:
32         rm -f $(PROGS)