mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-03 23:04:08 +01:00
new syntax for gen_pace.pl
This commit is contained in:
parent
49fc7ec61d
commit
05533d9ddf
1 changed files with 8 additions and 8 deletions
|
@ -31,8 +31,7 @@ ARMCCFS = $(CCFLAGS) -DNATIVE \
|
||||||
ARMLDFS = -Xlinker --script=./ldscript.arm -lgcc
|
ARMLDFS = -Xlinker --script=./ldscript.arm -lgcc
|
||||||
|
|
||||||
# ARM-specific
|
# ARM-specific
|
||||||
# This isn't working. Defining in Makefile...
|
ARM_DEFINES = $(MYDEFINES) -DXW_TARGET_PNO -D__LITTLE_ENDIAN -USHOW_PROGRESS
|
||||||
# MYDEFINES += -DXW_TARGET_PNO -D__LITTLE_ENDIAN
|
|
||||||
|
|
||||||
include ../common/config.mk
|
include ../common/config.mk
|
||||||
|
|
||||||
|
@ -62,11 +61,11 @@ all: PNOC0000.bin PNOG0000.bin
|
||||||
|
|
||||||
$(PLATFORM)/%.o : %.c $(MAKEFILE)
|
$(PLATFORM)/%.o : %.c $(MAKEFILE)
|
||||||
mkdir -p $(PLATFORM)
|
mkdir -p $(PLATFORM)
|
||||||
$(CC_ARM) -o $@ -c $(MYDEFINES) -DHERE $(ARMCCFS) $<
|
$(CC_ARM) -o $@ -c $(ARM_DEFINES) -DHERE $(ARMCCFS) $<
|
||||||
|
|
||||||
$(COMMONOBJDIR)/%.o : $(COMMONDIR)/%.c $(MAKEFILE)
|
$(COMMONOBJDIR)/%.o : $(COMMONDIR)/%.c $(MAKEFILE)
|
||||||
mkdir -p $(COMMONOBJDIR)
|
mkdir -p $(COMMONOBJDIR)
|
||||||
$(CC_ARM) -o $@ -c $(MYDEFINES) -DHERE $(ARMCCFS) $<
|
$(CC_ARM) -o $@ -c $(ARM_DEFINES) -DHERE $(ARMCCFS) $<
|
||||||
|
|
||||||
PNOC_bin.pre PNOG0000.bin: pace_gen.h $(OBJS)
|
PNOC_bin.pre PNOG0000.bin: pace_gen.h $(OBJS)
|
||||||
$(CC_ARM) $(OBJS) $(ARMCCFS) $(ARMLDFS) -Wl,-Map,PNOC_bin.map -o tmp.out
|
$(CC_ARM) $(OBJS) $(ARMCCFS) $(ARMLDFS) -Wl,-Map,PNOC_bin.map -o tmp.out
|
||||||
|
@ -84,10 +83,11 @@ PNOC0000.bin: PNOC_bin.pre
|
||||||
|
|
||||||
pace_gen.c pace_gen.h: ./gen_pace.pl funcfile.txt
|
pace_gen.c pace_gen.h: ./gen_pace.pl funcfile.txt
|
||||||
rm -f $@ _dirList
|
rm -f $@ _dirList
|
||||||
echo "$(PALMDIR)/Core/UI" >> _dirList
|
./gen_pace.pl -func funcfile.txt \
|
||||||
echo "$(PALMDIR)/Core/System" >> _dirList
|
-file $(PALMDIR)/Core/UI \
|
||||||
echo "$(PALMDIR)/Extensions/ExpansionMgr" >> _dirList
|
-file $(PALMDIR)/Core/System \
|
||||||
./gen_pace.pl funcfile.txt _dirList pace_gen.c pace_gen.h
|
-file $(PALMDIR)/Extensions/ExpansionMgr \
|
||||||
|
-oc pace_gen.c -oh pace_gen.h
|
||||||
rm -f _dirList
|
rm -f _dirList
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
|
|
Loading…
Reference in a new issue