Hopefully help cross-compilation

This commit is contained in:
Pierre Pronchery 2010-05-19 23:07:43 +00:00
parent c63a3262ae
commit dd4aa97de5
2 changed files with 4 additions and 4 deletions

View File

@ -4,8 +4,8 @@ PREFIX = /usr/local
DESTDIR = DESTDIR =
BINDIR = $(PREFIX)/bin BINDIR = $(PREFIX)/bin
CC = cc CC = cc
CPPFLAGSF= -I $(PREFIX)/include CPPFLAGSF=
CPPFLAGS= CPPFLAGS= -I $(PREFIX)/include
CFLAGSF = -W CFLAGSF = -W
CFLAGS = -Wall -g -O2 -pedantic CFLAGS = -Wall -g -O2 -pedantic
LDFLAGS = LDFLAGS =

View File

@ -1,7 +1,7 @@
subdirs=common subdirs=common
targets=download,surfer targets=download,surfer
cppflags_force=-I $(PREFIX)/include cppflags=-I $(PREFIX)/include
#cppflags=-D EMBEDDED #cppflags=-I $(PREFIX)/include -D EMBEDDED
cflags_force=-W cflags_force=-W
cflags=-Wall -g -O2 -pedantic cflags=-Wall -g -O2 -pedantic
ldflags= ldflags=