Rockbox.org home
release
dev builds
extras
themes manual
wiki
device status forums
mailing lists
IRC bugs
patches
dev guide
translations



Rockbox mail archive

Subject: make file help please

make file help please

From: roolku <roolku_at_yahoo.com>
Date: Thu, 2 Mar 2006 19:41:53 +0000 (GMT)

I am working on a plugin in a cygwin h120 sim and I am
tired of waiting for make to find out that nothing
else has changed apart from the plugin itself. So I
just want to compile that single c file. For that
purpose I added a new target to the makefile in my
build directory like this:

helloworld:
        $(SILENT)$(MAKE) -C $(APPSDIR)/plugins
OBJDIR=$(BUILDDIR)/apps/plugins helloworld

but when I to use it with

make helloworld

I get a linker error:

/usr/lib/gcc/i686-pc-mingw32/3.4.4/../../../../i686-pc-mingw32/lib/libmingw32.a(
main.o):main.c:(.text+0x106): undefined reference to
`_WinMain_at_16'
collect2: ld returned 1 exit status
make[1]: *** [helloworld] Error 1
make: *** [helloworld] Error 2

Has anyone a suggestion on how i can make it work?

And as a bonus question: how can I stop it from
checking all the bitmap dirs. ;)

Cheers
  Robert


        
        
                
___________________________________________________________
Yahoo! Messenger - NEW crystal clear PC to PC calling worldwide with voicemail http://uk.messenger.yahoo.com
Received on 2006-03-02

Page template was last modified "Tue Sep 7 00:00:02 2021" The Rockbox Crew -- Privacy Policy