Simplify config.mk

A separate INCS/LIBS is not really necessary here and confuses
the common case.
This commit is contained in:
sin 2014-12-01 17:14:22 +00:00 committed by FRIGN
parent 5b089b98a6
commit 7a587cfa36

View file

@ -7,15 +7,10 @@ VERSION = 0.1
PREFIX = /usr/local PREFIX = /usr/local
MANPREFIX = ${PREFIX}/share/man MANPREFIX = ${PREFIX}/share/man
# includes and libs
INCS = -I. -I/usr/include
LIBS = -L/usr/lib -lc
# flags # flags
CPPFLAGS = -DVERSION=\"${VERSION}\" -D_POSIX_C_SOURCE=200809 -D_BSD_SOURCE CPPFLAGS = -DVERSION=\"${VERSION}\" -D_POSIX_C_SOURCE=200809 -D_BSD_SOURCE
CFLAGS = -g -std=c99 -pedantic -Wall -O0 ${INCS} ${CPPFLAGS} CFLAGS = -g -std=c99 -pedantic -Wall -O0 ${CPPFLAGS}
LDFLAGS = ${LIBS} LDFLAGS = # -s
#LDFLAGS = -s ${LIBS}
# compiler and linker # compiler and linker
CC = cc CC = cc