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