I am already gone through the step but it still doesn't solve my problem.Even
though here is my make file content for your review. Please go through it, if
I'm making any mistake in it. I ' using SSL_MD5 and SSL_DES library.
Thank You For your kind support
VERSION = 1.0
APP = Fortress
ICONTEXT = "Fortress"
APPID = EnFs
RCP = $(APP).rcp
PRC = $(APP).prc
DEF = $(APP).def
SRC = $(APP).c $(APP)db.c crypto.c setpassword.c mainform.c
editform.c
detailform.c noteform.c categoryeditform.c typeeditform.c
ssl-md-stubs.c ssl-des-stubs.c
HEADERS = $(APP).h $(APP)db.h crypto.h Generate.h secrand.h pronounce.h
include.h
SECTIONS = $(APP)-sections
INCLUDES = -IpilotSSLeay/include
LIBS = -lPalmOSGlue
GLIBDEF = ssl-md.def ssl-des.def
PRCLIBDIR = pilotSSLeay/shlib
OBJ = $(subst .c,.o,$(SRC)) $(subst .def,-stubs.o,$(GLIBDEF))
CC = m68k-palmos-gcc
MULTIGEN = m68k-palmos-multigen
STUBGEN = m68k-palmos-stubgen
PILRC = pilrc
BUILDPRC = build-prc
# Uncomment this if you want to build a GDB-debuggable version
CFLAGS = -O2 -g -mdebug-labels
#CFLAGS = -O2
all: $(PRC)
$(PRC): $(APP) bin.stamp
$(BUILDPRC) $(DEF) $(APP) -o $(PRC)
ls -l *.prc
$(APP): $(SRC:.c=.o) $(SECTIONS).ld
$(CC) $(CFLAGS) $(INCLUDES) $(LIBS) $^ -o $@
bin.stamp: $(RCP)
$(PILRC) $^ $(BINDIR)
touch $@
%-stubs.c: %.def
$(STUBGEN) $<
$(OBJ): $(HEADERS)
%.o: %.c
$(CC) $(CFLAGS) $(INCLUDES) -c $< -o $@
# touch $<
# Enable the previous line if you want to compile EVERY time.
$(SECTIONS).o: $(SECTIONS).s
$(CC) $(CFLAGS) $(INCLUDES) -c $< -o $@
$(SECTIONS).s $(SECTIONS).ld: $(DEF) $(OBJ)
$(MULTIGEN) $(DEF)
depend dep:
$(CC) -M $(SRC) > .dependencies
clean:
rm -rf *.o $(APP) *.bin *.stamp *.s *.ld
veryclean: clean
rm -rf *.prc *.rcp *.bak
--
For information on using the Palm Developer Forums, or to unsubscribe, please
see http://www.palmos.com/dev/support/forums/