From 2c0aa304b8b61284ddeaf1b47c7382814620d6b5 Mon Sep 17 00:00:00 2001 From: Michael Gebetsroither Date: Tue, 26 Dec 2006 16:40:30 +0100 Subject: [PATCH] Makefile tuning, e.g compile vmware-detect and dpkg_not_running with diet --- compile/Makefile | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) 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 -- 2.1.4