On Tue, Nov 02, 2004 at 06:40:57PM +0200, Dagan Shai wrote:
> Thanks.
> 
> Here they are.

Winemaker is buggy, the generated Makefile has a small problem.
Here's the fix:


--- Makefile.orig       2004-11-02 09:52:59.000000000 -0500
+++ Makefile    2004-11-02 11:52:57.451738280 -0500
@@ -58,7 +58,7 @@
 
 ### Generic targets
 
-all: $(SUBDIRS) $(DLLS:%=%.so) $(EXES:%=%.so)
+all: $(SUBDIRS) $(DLLS:%=%.so) $(EXES)
 
 ### Build rules
 
@@ -106,7 +106,7 @@
 $(helloworld_exe_MODULE).dbg.c: $(helloworld_exe_C_SRCS) $(helloworld_exe_CXX_SRCS)
        $(WINEBUILD) -o $@ --debug -C$(SRCDIR) $(helloworld_exe_C_SRCS) 
$(helloworld_exe_CXX_SRCS)
 
-$(helloworld_exe_MODULE).so: $(helloworld_exe_MODULE).dbg.o $(helloworld_exe_OBJS)
+$(helloworld_exe_MODULE): $(helloworld_exe_MODULE).dbg.o $(helloworld_exe_OBJS)
        $(CXX) $(helloworld_exe_LDFLAGS) -o $@ $(helloworld_exe_OBJS) 
$(helloworld_exe_MODULE).dbg.o $(helloworld_exe_LIBRARY_PATH) $(LIBRARY_PATH) 
$(helloworld_exe_DLLS:%=-l%) $(helloworld_exe_LIBRARIES:%=-l%)
 
-- 
Dimi. 

Reply via email to