X-Git-Url: http://git.grml.org/?p=grml-scripts.git;a=blobdiff_plain;f=compile%2FMakefile;h=a5d42c36916971f5626c0fa8f655c3853c9e03fa;hp=8f29c0fcbaf25de0cb13d5e773a2e233b5d3cbcf;hb=HEAD;hpb=e720deae78f1eda5e6f62629606c194f16796762 diff --git a/compile/Makefile b/compile/Makefile index 8f29c0f..964ae3c 100644 --- a/compile/Makefile +++ b/compile/Makefile @@ -1,7 +1,7 @@ -PROGS = ip-screen pong vmware-detect align cpu-screen dpkg_not_running reread_partition_table gtf +PROGS = dpkg_not_running grml-runtty #ifndef CFLAGS -CFLAGS = -O2 -Wall +CFLAGS = -O2 -Wall -s #endif #ifndef LDFALGS @@ -14,28 +14,11 @@ CC = gcc 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 - dpkg_not_running: dpkg_not_running.c + diet $(CC) $(CFLAGS) -o $@ $^ -align: align.c - $(CC) -Wall -o align align.c - -reread_partition_table: reread_partition_table.c - diet $(CC) -s -Os -o reread_partition_table reread_partition_table.c - -gtf: gtf.c - $(CC) gtf.c -lm -Wall -o gtf +grml-runtty: grml-runtty.c + diet $(CC) $(CFLAGS) -o $@ $^ -lcompat clean: rm -f $(PROGS)