Browse Source

Add externally defined CFLAGS and LDFLAGS to compiler and linker options.

ObjPtr
Michael Uleysky 9 years ago
parent
commit
c5bff0c2f0
  1. 4
      Makefile
  2. 4
      src/Makefile

4
Makefile

@ -5,8 +5,8 @@ CPPFLAGS=-std=gnu++11 -I../include -I../../include
LIBSFLAGS=
WARNFLAGS=-Wall
CFLAGS=$(OPTFLAGS) $(EXPORTFLAGS) $(WARNFLAGS) $(CPPFLAGS)
LDFLAGS=$(OPTFLAGS) $(EXPORTFLAGS) $(WARNFLAGS) $(LIBSFLAGS)
CFLAGS+=$(OPTFLAGS) $(EXPORTFLAGS) $(WARNFLAGS) $(CPPFLAGS)
LDFLAGS+=$(OPTFLAGS) $(EXPORTFLAGS) $(WARNFLAGS) $(LIBSFLAGS)
CC=g++

4
src/Makefile

@ -5,8 +5,8 @@ CPPFLAGS=-std=gnu++11 -I../include
LIBSFLAGS=-ldl -lpthread $(MODLIBS)
WARNFLAGS=-Wall
CFLAGS=$(OPTFLAGS) $(EXPORTFLAGS) $(WARNFLAGS) $(CPPFLAGS)
LDFLAGS=$(OPTFLAGS) $(EXPORTFLAGS) $(WARNFLAGS) $(LIBSFLAGS)
CFLAGS+=$(OPTFLAGS) $(EXPORTFLAGS) $(WARNFLAGS) $(CPPFLAGS)
LDFLAGS+=$(OPTFLAGS) $(EXPORTFLAGS) $(WARNFLAGS) $(LIBSFLAGS)
CC=g++

Loading…
Cancel
Save