Let the user specify C and LD FLAGS

This commit is contained in:
Quentin Rameau
2017-07-12 00:26:35 +02:00
parent fabd4602b3
commit d4928edba0
2 changed files with 6 additions and 6 deletions

View File

@ -20,8 +20,8 @@ LIBS = -L$(X11LIB) -lm -lrt -lX11 -lutil -lXft \
# flags
CPPFLAGS = -DVERSION=\"$(VERSION)\" -D_XOPEN_SOURCE=600
CFLAGS = -g -std=c99 -pedantic -Wall -Wvariadic-macros -Os $(INCS) $(CPPFLAGS)
LDFLAGS = -g $(LIBS)
STCFLAGS = $(INCS) $(CPPFLAGS) $(CFLAGS)
STLDFLAGS = $(LIBS) $(LDFLAGS)
# compiler and linker
# CC = c99