-PROGS = ip-screen pong vmware-detect align cpu-screen dpkg_not_running reread_partition_table gtf
+PROGS = pong vmware-detect align dpkg_not_running reread_partition_table grml-runtty
#ifndef CFLAGS
-CFLAGS = -O2 -Wall
+CFLAGS = -O2 -Wall -s
#endif
#ifndef LDFALGS
all: $(PROGS)
-ip-screen: ip-screen.c
- diet $(CC) $(CFLAGS) -o $@ $^
- strip --strip-all $@
-
-cpu-screen: cpu-screen.c
- diet $(CC) $(CFLAGS) -o $@ $^
- strip --strip-all $@
-
pong: pong.c
vmware-detect: vmware-detect.c
diet $(CC) $(CFLAGS) -o $@ $^
- strip --strip-all $@
dpkg_not_running: dpkg_not_running.c
diet $(CC) $(CFLAGS) -o $@ $^
- strip --strip-all $@
align: align.c
+ $(CC) -Wall -o align align.c
reread_partition_table: reread_partition_table.c
diet $(CC) $(CFLAGS) -o $@ $^
- strip --strip-all $@
-gtf: gtf.c
- $(CC) gtf.c -lm -Wall -o gtf
+grml-runtty: grml-runtty.c
+ $(CC) $(CFLAGS) -o $@ $^
clean:
rm -f $(PROGS)