X-Git-Url: http://git.grml.org/?a=blobdiff_plain;f=compile%2FMakefile;h=939d0d5613c59940c213915a985ee81071a4a42c;hb=0a715b875eb044fbe988b598c76f7789878ddbc2;hp=96e380e2be5468e3a8f8c7b7899fdd99a6760139;hpb=2c0aa304b8b61284ddeaf1b47c7382814620d6b5;p=grml-scripts.git diff --git a/compile/Makefile b/compile/Makefile index 96e380e..939d0d5 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 = vmware-detect dpkg_not_running reread_partition_table grml-runtty #ifndef CFLAGS -CFLAGS = -O2 -Wall +CFLAGS = -O2 -Wall -s #endif #ifndef LDFALGS @@ -14,32 +14,17 @@ 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 diet $(CC) $(CFLAGS) -o $@ $^ - strip --strip-all $@ dpkg_not_running: dpkg_not_running.c diet $(CC) $(CFLAGS) -o $@ $^ - strip --strip-all $@ - -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 + diet $(CC) $(CFLAGS) -o $@ $^ -lcompat clean: rm -f $(PROGS)