> code0001.memopad.grc: code0000.memopad.grc
> data0000.memopad.grc: code0000.memopad.grc
> pref0000.memopad.grc: code0000.memopad.grc
> rloc0000.memopad.grc: code0000.memopad.grc

        The .grc stuff is very ancient. You could also use the following
updated Makefile style (adjust to taste)

---
PREFIX   =
CC       = $(PREFIX)m68k-palmos-coff-gcc
PILRC    = $(PREFIX)pilrc
BUILDPRC = $(PREFIX)build-prc
PRC2BIN  = $(PREFIX)prc2bin

# source / outputs
OBJS     = Foo.o
EXEC     = FOO

# compiler flags
CCFLAGS = -O6 -Wall -pedantic

# Lots of paranoid messages, good for debugging
# -pedantic

# If using prc-tools 2.0
# -palmos3.5

# compile requirements
$(EXEC).prc: $(EXEC) $(EXEC).def bin.stamp
        $(BUILDPRC) $(EXEC).def $(EXEC).prc $(EXEC) *.bin
        make clean

$(EXEC): $(OBJS)
        $(CC) $(OBJS) $(CCFLAGS) -o $(EXEC)

bin.stamp: $(EXEC).rcp
        $(PILRC) $(EXEC).rcp

# compile rules
.SUFFIXES: .c .o

.c.o:
        $(CC) -c $(CCFLAGS) $<

# clean-up functions
clean:
        rm -f *.[oa] *.bin *.grc *~ $(EXEC)

distclean:
        rm -f *.[oa] *.bin *.[pg]rc *~ $(EXEC)
---

        And then add Foo.def, with the following information (again,
adjust to taste)

---
application { "MyAppName" FOO0 stack=4096 }
---

_______________________________________________
Pilot-unix mailing list
[EMAIL PROTECTED]
http://hcirisc.cs.binghamton.edu/mailman/listinfo/pilot-unix

Reply via email to