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:
efa7f89
)
using -s in CFLAGS not strip itself
author
Michael Gebetsroither
<michael.geb@gmx.at>
Sun, 4 Mar 2007 03:50:13 +0000
(
04:50
+0100)
committer
Michael Gebetsroither
<michael.geb@gmx.at>
Sun, 4 Mar 2007 03:50:13 +0000
(
04:50
+0100)
compile/Makefile
patch
|
blob
|
history
diff --git
a/compile/Makefile
b/compile/Makefile
index
96e380e
..
bb84258
100644
(file)
--- 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
#ifndef CFLAGS
PROGS = ip-screen pong vmware-detect align cpu-screen dpkg_not_running reread_partition_table gtf
#ifndef CFLAGS
-CFLAGS = -O2 -Wall
+CFLAGS = -O2 -Wall
-s
#endif
#ifndef LDFALGS
#endif
#ifndef LDFALGS
@@
-16,27
+16,22
@@
all: $(PROGS)
ip-screen: ip-screen.c
diet $(CC) $(CFLAGS) -o $@ $^
ip-screen: ip-screen.c
diet $(CC) $(CFLAGS) -o $@ $^
- strip --strip-all $@
cpu-screen: cpu-screen.c
diet $(CC) $(CFLAGS) -o $@ $^
cpu-screen: cpu-screen.c
diet $(CC) $(CFLAGS) -o $@ $^
- strip --strip-all $@
pong: pong.c
vmware-detect: vmware-detect.c
diet $(CC) $(CFLAGS) -o $@ $^
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 $@ $^
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 $@ $^
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
gtf: gtf.c
$(CC) gtf.c -lm -Wall -o gtf