Re: [AD] Allegro 4.0.3 RC1

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


> I've uploaded a snapshot of the CVS code at the following address:
> http://perso.libertysurf.fr/ebotcazou/dev/all403cvs.zip
> http://perso.libertysurf.fr/ebotcazou/dev/all403cvs_diff.zip

Grr... the compilation aborts at the demo game with MinGW because of an 
oversight in my patch that Elias used as a basis for his own patch. Now 
fixed in the CVS tree on trunk and branch.

-- 
Eric Botcazou
--- /cvs/allegro-4_0-branch/makefile.mgw	Sat Feb 15 18:01:42 2003
+++ allegro-4_0-branch/makefile.mgw	Sat Feb 15 19:51:56 2003
@@ -455,9 +455,15 @@
 tests/win/dibsound.exe: $(OBJ_DIR)/dibsound.o obj/mingw32/dibsound.res $(IMPLIB_NAME)
 	gcc $(LFLAGS) $(PFLAGS) -Wl,--subsystem,windows -o tests/win/dibsound.exe $(OBJ_DIR)/dibsound.o obj/mingw32/dibsound.res $(IMPLIB_NAME) $(LIBRARIES)
 
+tests/win/%.exe: $(OBJ_DIR)/%.o $(IMPLIB_NAME)
+	gcc $(LFLAGS) $(PFLAGS) -Wl,--subsystem,windows -o $@ $< $(IMPLIB_NAME) $(LIBRARIES)
+
 tests/win/scrsave.scr: $(OBJ_DIR)/scrsave.o obj/mingw32/scrsave.res $(IMPLIB_NAME)
 	gcc $(LFLAGS) $(PFLAGS) -Wl,--subsystem,windows -o tests/win/scrsave.scr $(OBJ_DIR)/scrsave.o obj/mingw32/scrsave.res $(IMPLIB_NAME) $(LIBRARIES)
 
+tools/win/%.exe: $(OBJ_DIR)/%.o $(IMPLIB_NAME)
+	gcc $(LFLAGS) $(PFLAGS) -Wl,--subsystem,console -o $@ $< $(IMPLIB_NAME) $(LIBRARIES)
+
 ifdef CROSSCOMPILE
 
 demo/demo.exe: $(OBJ_DIR)/demo.o $(IMPLIB_NAME)
@@ -487,7 +493,7 @@
 
 endif # CROSSCOMPILE
 
-examples/%.exe setup/%.exe tests/%.exe tests/win/%.exe tools/%.exe tools/win/%.exe: $(OBJ_DIR)/%.o $(IMPLIB_NAME)
+examples/%.exe setup/%.exe tests/%.exe: $(OBJ_DIR)/%.o $(IMPLIB_NAME)
 	gcc $(LFLAGS) $(PFLAGS) -Wl,--subsystem,windows -o $@ $< $(IMPLIB_NAME) $(LIBRARIES)
 
 LINK_CONSOLE_DEPS = $(IMPLIB_NAME)


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/