projects
/
grml-scripts.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3a40610
)
Makefile tuning, e.g compile vmware-detect and dpkg_not_running with diet
author
Michael Gebetsroither
<michael.geb@gmx.at>
Tue, 26 Dec 2006 15:40:30 +0000
(16:40 +0100)
committer
Michael Gebetsroither
<michael.geb@gmx.at>
Tue, 26 Dec 2006 15:40:30 +0000
(16:40 +0100)
compile/Makefile
patch
|
blob
|
history
diff --git
a/compile/Makefile
b/compile/Makefile
index
8f29c0f
..
96e380e
100644
(file)
--- 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