Can compile a debug or release version
parent
58579b2841
commit
9c936a279d
9
Makefile
9
Makefile
|
@ -1,6 +1,13 @@
|
|||
CC=g++
|
||||
AR=ar
|
||||
CFLAGS=-c -Wall -g -pedantic -ansi
|
||||
|
||||
DEBUG ?= 0
|
||||
ifeq ($(DEBUG), 1)
|
||||
CFLAGS=-c -Wall -O0 -g -pedantic -Wextra -Wconversion -march=native -Wno-long-long
|
||||
else
|
||||
CFLAGS=-c -Wall -O2 -pedantic -Wextra -Wconversion -march=native -Wno-long-long
|
||||
endif
|
||||
|
||||
LDFLAGS=
|
||||
|
||||
SOURCES=CoordGeodetic.cpp \
|
||||
|
|
Loading…
Reference in New Issue