From: Michael Gebetsroither Date: Tue, 26 Dec 2006 15:40:30 +0000 (+0100) Subject: Makefile tuning, e.g compile vmware-detect and dpkg_not_running with diet X-Git-Tag: 0.9.12~5 X-Git-Url: http://git.grml.org/?p=grml-scripts.git;a=commitdiff_plain;h=2c0aa304b8b61284ddeaf1b47c7382814620d6b5 Makefile tuning, e.g compile vmware-detect and dpkg_not_running with diet --- diff --git a/compile/Makefile b/compile/Makefile index 8f29c0f..96e380e 100644 --- a/compile/Makefile +++ b/compile/Makefile @@ -25,14 +25,18 @@ cpu-screen: cpu-screen.c 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) -s -Os -o reread_partition_table reread_partition_table.c + diet $(CC) $(CFLAGS) -o $@ $^ + strip --strip-all $@ gtf: gtf.c $(CC) gtf.c -lm -Wall -o gtf