Introduction
Introduction Statistics Contact Development Disclaimer Help
made config.mk consistent to other projects - sselp - simple X selection printe…
git clone git://git.suckless.org/sselp
Log
Files
Refs
README
LICENSE
---
commit a8ef4352d45b8f69e20d5ac2ab40bea0bb4fe78b
parent fa1b9f322b694d086b3b19084f5400af62279376
Author: Anselm R Garbe <[email protected]>
Date: Tue, 29 Jul 2008 19:17:45 +0100
made config.mk consistent to other projects
Diffstat:
M Makefile | 6 ++----
M config.mk | 8 +++-----
2 files changed, 5 insertions(+), 9 deletions(-)
---
diff --git a/Makefile b/Makefile
@@ -12,7 +12,6 @@ options:
@echo "CFLAGS = ${CFLAGS}"
@echo "LDFLAGS = ${LDFLAGS}"
@echo "CC = ${CC}"
- @echo "LD = ${LD}"
.c.o:
@echo CC $<
@@ -21,9 +20,8 @@ options:
${OBJ}: config.mk
sselp: ${OBJ}
- @echo LD $@
- @${LD} -o $@ ${OBJ} ${LDFLAGS}
- @strip $@
+ @echo CC -o $@
+ @${CC} -o $@ ${OBJ} ${LDFLAGS}
clean:
@echo cleaning
diff --git a/config.mk b/config.mk
@@ -15,11 +15,9 @@ INCS = -I. -I/usr/include -I${X11INC}
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}
You are viewing proxied material from suckless.org. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.