Simplify config.mk
A separate INCS/LIBS is not really necessary here and confuses the common case.
This commit is contained in:
parent
5b089b98a6
commit
7a587cfa36
1 changed files with 2 additions and 7 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue