ucl: make it possible to specify additional CFLAGS

example: CFLAGS=-m32 make -C mkamsboot

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31450 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Rafaël Carré 2011-12-27 00:12:35 +00:00
parent 565b869438
commit f77353c71a
2 changed files with 4 additions and 4 deletions

View file

@ -6,12 +6,12 @@
# \/ \/ \/ \/ \/
# $Id$
#
CFLAGS = -O2 -Iinclude
CFLAGS+ = -O2 -Iinclude
TARGET = ../uclpack
$(TARGET): uclpack.o src/libucl.a
$(CC) uclpack.o src/libucl.a -o $(TARGET)
$(CC) $(CFLAGS) uclpack.o src/libucl.a -o $(TARGET)
uclpack.o: uclpack.c
@ -20,4 +20,4 @@ src/libucl.a:
clean:
rm -f $(TARGET) uclpack.o
$(MAKE) -C src clean
$(MAKE) -C src clean

View file

@ -6,7 +6,7 @@
# \/ \/ \/ \/ \/
# $Id$
#
CFLAGS = -I../include
CFLAGS += -I../include
ifndef V
SILENT = @