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
[EMAIL PROTECTED]'
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