rockbox/tools/ucl/Makefile
Rafaël Carré f77353c71a 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
2011-12-27 00:12:35 +00:00

23 lines
630 B
Makefile

# __________ __ ___.
# Open \______ \ ____ ____ | | _\_ |__ _______ ___
# Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
# Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
# Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
# \/ \/ \/ \/ \/
# $Id$
#
CFLAGS+ = -O2 -Iinclude
TARGET = ../uclpack
$(TARGET): uclpack.o src/libucl.a
$(CC) $(CFLAGS) uclpack.o src/libucl.a -o $(TARGET)
uclpack.o: uclpack.c
src/libucl.a:
$(MAKE) -C src
clean:
rm -f $(TARGET) uclpack.o
$(MAKE) -C src clean