#
#  makefile for ogr2rnx
#
#

# compiler & linker
CC         := gcc
LD         := ld

BINDIR     := ../../bin

# compiler flags
WARN       := -W -Wall -Wstrict-prototypes \
 -Wmissing-prototypes -Wno-trigraphs

CFLAGS     := -g ${WARN} \
 -fomit-frame-pointer -fno-strict-aliasing -fno-common \
 -pipe

all: ogr2rnx 
	mv ogr2rnx ${BINDIR} 

clean:
	rm -rf *.o

ogr2rnx: ogr2rnx.o
	${CC} -o ogr2rnx ogr2rnx.o -lm

