I am trying to split an existing app because it grew beyond 32K and I am running into
a problem which I haven't seen addressed in the archives. When I try to execute the
resulting prc file on POSE I get "Resource for app form 1250 not found". Any ideas?
I have included my Makefile and .def file.
***** Makefile *****
VERSION = 1.0
CFLAGS =
CFLAGS += -palmos3.5
APP=BigApp
ICONTEXT="Big One"
CRID=BG01
RCP=$(APP).rcp
PRC=$(APP).prc
DEF=$(APP).def
SRC=$(APP).c
SECTIONS=$(APP)-sections
BINDIR=
OBJS=$(BINDIR)$(SRC:.c=.o) $(SECTIONS).o
CC = m68k-palmos-gcc
PILRC=pilrc
BUILDPRC=build-prc
MULTIGEN=m68k-palmos-multigen
OBJRES=m68k-palmos-obj-res
all: $(PRC)
$(PRC): bin.stamp $(APP) $(DEF)
$(BUILDPRC) $(DEF) $(APP)
ls -l *.prc
$(APP): $(OBJS) $(SECTIONS).ld
$(CC) $(CFLAGS) -o $@ $(OBJS) $(SECTIONS).ld
%.o: %.c Makefile
$(CC) $(CFLAGS) -c $< -o $(BINDIR)$@
bin.stamp: $(RCP) $(APP).bmp smallicon.bmp
$(PILRC) $(RCP) $(BINDIR)
touch bin.stamp
$(SECTIONS).o: $(SECTIONS).s
$(CC) $(CFLAGS) -c $< -o $(BINDIR)$@
$(SECTIONS).s $(SECTIONS).ld: $(DEF)
$(MULTIGEN) $(DEF)
depend dep:
$(CC) -M $(SRC) > .dependencies
clean:
-rm -f $(OBJS) $(APP) $(PRC) *.bin bin.stamp *.grc grc.stamp $(RCP)
$(SECTIONS)*
include .dependencies
***** BigApp.def *****
application {"Big One" "BG01"}
multiple code {"Section2"}
--
__________________________________________________________
Sign-up for your own personalized E-mail at Mail.com
http://www.mail.com/?sr=signup
Search Smarter - get the new eXact Search Bar for free!
http://www.exactsearchbar.com/
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/support/forums/