[AD] MSVC makefile fix

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



This patch fixes makefile.vc, which doesn't properly compile the demo or the win tests.


--
- Robert J Ohannessian
"Microsoft code is probably O(n^20)" (my CS prof)
http://pages.infinit.net/voidstar/
--- /libs/allegro/makefile.vc	Tue Aug 28 16:59:36 2001
+++ makefile.vc	Thu Aug 30 23:49:58 2001
@@ -304,10 +304,10 @@
 
 demo/demo.exe: $(OBJ_DIR)/demo.obj wfixicon $(IMPLIB_NAME) $(RUNNER)
    ifneq ($(wildcard demo/demo.dat),)
-	$(RUNNER) tools/win/wfixicon $(OBJ_DIR)/demo.ico -ro -d demo/demo.dat SHIP3 GAME_PAL
-	$(RUNNER) link @ -nologo $(LFLAGS) -subsystem:windows -out:demo/demo.exe $(OBJ_DIR)/demo.o $(OBJ_DIR)/demo.res $(IMPLIB_NAME) $(LIBRARIES)
+	$(RUNNER) tools\win\wfixicon $(OBJ_DIR)/demo.ico -ro -d demo/demo.dat SHIP3 GAME_PAL
+	$(RUNNER) link @ -nologo $(LFLAGS) -subsystem:windows -out:demo/demo.exe $(OBJ_DIR)/demo.obj $(OBJ_DIR)/demo.res $(IMPLIB_NAME) $(LIBRARIES)
    else
-	$(RUNNER) link @ -nologo $(LFLAGS) -subsystem:windows -out:demo/demo.exe $(OBJ_DIR)/demo.o $(IMPLIB_NAME) $(LIBRARIES)
+	$(RUNNER) link @ -nologo $(LFLAGS) -subsystem:windows -out:demo/demo.exe $(OBJ_DIR)/demo.obj $(IMPLIB_NAME) $(LIBRARIES)
    endif
 
 */%.exe: $(OBJ_DIR)/%.obj $(IMPLIB_NAME) $(RUNNER)


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