//makefile sample lines

$(DIR)/TheApp-sections.o: TheApp-sections.s
        @echo "Building Assembly File $<" && \
        m68k-palmos-gcc -c $< -o $@

TheApp-sections.s TheApp-sections.ld: %: TheApp.def
        @echo "Building multi-segment stub for $<" && \
        m68k-palmos-multigen $<

$(DIR)/TheApp: $(OBJS) TheApp-sections.ld
        @echo "Linking Object Files" && \
        m68k-palmos-gcc $(LFLAGS) $^ -o $@ -Xlinker "-Ttext_64k" -lPalmOSGlue

$(DIR)/TheApp.prc: TheApp.def $(DIR)/resources.ro $(DIR)/TheApp
        @echo "Building Program Database $@" && \
        build-prc -t appl -n "TheApp" -o $@ $^

//TheApp.def sample lines
//It`s not need to define default ".text" ".data" & ".bss" sections in def file


application {"TheApp" APPL}
multiple code {".common" ".ctrls"}

On Fri, 24 Sep 2004 09:22:48 +0300, YILMAZ YORU <[EMAIL PROTECTED]> wrote:

Is there any example of makefile
which includes segments & def files.
If you have would you paste here?
I have a trouble ! :)
Thank You


-- Alexey Tikhvinsky mailto:[EMAIL PROTECTED] ECTACO, Inc. http://www.ectaco.com http://www.lingvosoft.com

--
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/

Reply via email to