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
|
||||
MANPREFIX = ${PREFIX}/share/man
|
||||
|
||||
# includes and libs
|
||||
INCS = -I. -I/usr/include
|
||||
LIBS = -L/usr/lib -lc
|
||||
|
||||
# flags
|
||||
CPPFLAGS = -DVERSION=\"${VERSION}\" -D_POSIX_C_SOURCE=200809 -D_BSD_SOURCE
|
||||
CFLAGS = -g -std=c99 -pedantic -Wall -O0 ${INCS} ${CPPFLAGS}
|
||||
LDFLAGS = ${LIBS}
|
||||
#LDFLAGS = -s ${LIBS}
|
||||
CFLAGS = -g -std=c99 -pedantic -Wall -O0 ${CPPFLAGS}
|
||||
LDFLAGS = # -s
|
||||
|
||||
# compiler and linker
|
||||
CC = cc
|
||||
|
|
Loading…
Reference in a new issue