changeset: 11:5293716fdc7c
tag: tip
user: Anselm R Garbe <garbeam_AT_gmail.com>
date: Tue Jul 29 19:17:45 2008 +0100
files: Makefile config.mk
description:
made config.mk consistent to other projects
diff -r 6d38661c8263 -r 5293716fdc7c Makefile
--- a/Makefile Tue Jul 29 19:07:35 2008 +0100
+++ b/Makefile Tue Jul 29 19:17:45 2008 +0100
@@ -12,7 +12,6 @@
@echo "CFLAGS = ${CFLAGS}"
@echo "LDFLAGS = ${LDFLAGS}"
@echo "CC = ${CC}"
- @echo "LD = ${LD}"
.c.o:
@echo CC $<
@@ -21,9 +20,8 @@
${OBJ}: config.mk
sselp: ${OBJ}
- @echo LD $@
- @${LD} -o $@ ${OBJ} ${LDFLAGS}
- @strip $@
+ @echo CC -o $@
+ @${CC} -o $@ ${OBJ} ${LDFLAGS}
clean:
@echo cleaning
diff -r 6d38661c8263 -r 5293716fdc7c config.mk
--- a/config.mk Tue Jul 29 19:07:35 2008 +0100
+++ b/config.mk Tue Jul 29 19:17:45 2008 +0100
@@ -15,11 +15,9 @@
LIBS = -L/usr/lib -lc -L${X11LIB} -lX11
# flags
-CFLAGS = -Os ${INCS} -DVERSION=\"${VERSION}\"
-LDFLAGS = ${LIBS}
-#CFLAGS = -g -Wall -O2 ${INCS} -DVERSION=\"${VERSION}\"
-#LDFLAGS = -g ${LIBS}
+CPPFLAGS = -DVERSION=\"${VERSION}\"
+CFLAGS = -std=c99 -pedantic -Wall -Os ${INCS} ${CPPFLAGS}
+LDFLAGS = -s ${LIBS}
# compiler and linker
CC = cc
-LD = ${CC}
Received on Tue Jul 29 2008 - 18:17:51 UTC
This archive was generated by hypermail 2.2.0 : Tue Jul 29 2008 - 18:24:04 UTC