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



Rockbox mail archive

Subject: make file help please

make file help please

From: roolku <roolku_at_yahoo.com>
Date: 2006-03-02

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@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 Thu Mar 2 20:42:24 2006


Page was last modified "Jan 10 2012" The Rockbox Crew
aaa