From: Patrik Gornicz Date: Tue, 21 Apr 2009 02:15:40 +0000 (-0400) Subject: fixed libscpy for mingw32, changed special cleaning bug X-Git-Tag: v0.10~1 X-Git-Url: http://gitweb.pgornicz.com/gitweb.cgi?p=physics.git;a=commitdiff_plain;h=f1324fa6a23bcfc7b777c82bd7b7faec6bedb20e fixed libscpy for mingw32, changed special cleaning bug --- diff --git a/Makefile b/Makefile index 88dfc85..e85d491 100644 --- a/Makefile +++ b/Makefile @@ -191,7 +191,7 @@ prof: run MINGMAKEARGS := "LIBGL := -lopengl32 -lglu32" \ "LIBSDL := `/usr/mingw32/bin/sdl-config --libs`" \ - "LIBSCPY := $(addprefix ${DSTLIBSDIR},SDL.dll)" \ + "LIBSCPY := $(addprefix bin-mingw32/,SDL.dll)" \ "CXXFLAGS := ${OPTFLAGS}" \ "CXX := mingw32-g++" \ "OBJSDIR := objs-mingw32/" \ @@ -201,7 +201,8 @@ MINGMAKEARGS := "LIBGL := -lopengl32 -lglu32" \ .PHONY: mingw32 mingw32: ${Q1}${PRNTFMT} "make" "mingw32" - ${Q2}${MAKE} ${MINGMAKEARGS} clean all + ${Q2}${MAKE} ${MINGMAKEARGS} clean + ${Q2}${MAKE} ${MINGMAKEARGS} all FINALMAKEARGS := "CXXFLAGS := ${OPTFLAGS}" \ "OBJSDIR := objs/" \ @@ -210,7 +211,8 @@ FINALMAKEARGS := "CXXFLAGS := ${OPTFLAGS}" \ .PHONY: final final: ${Q1}${PRNTFMT} "make" "final" - ${Q2}${MAKE} ${FINALMAKEARGS} clean all + ${Q2}${MAKE} ${FINALMAKEARGS} clean + ${Q2}${MAKE} ${FINALMAKEARGS} all -include ${DEPS}