From: Patrik Gornicz Date: Sat, 2 May 2009 18:52:42 +0000 (-0400) Subject: changed else ifeq so a lesser make can handle it X-Git-Url: http://gitweb.pgornicz.com/gitweb.cgi?p=physics.git;a=commitdiff_plain;h=bb552d933ec4bc4484eb7868cb7993996833f3d3 changed else ifeq so a lesser make can handle it --- diff --git a/Makefile b/Makefile index 6faa1df..9b5a2f6 100644 --- a/Makefile +++ b/Makefile @@ -28,11 +28,13 @@ LNKFLAGS := -Wl,-rpath,${RPATH} ifeq (${WIN32},1) CXXFLAGS := ${OPTFLAGS} -else ifeq (${FINAL},1) +else +ifeq (${FINAL},1) CXXFLAGS := ${OPTFLAGS} else CXXFLAGS := ${MYFLAGS} ${DBGFLAGS} endif +endif ifeq (${WIN32},1) CXX := mingw32-g++ @@ -47,11 +49,13 @@ SRCS := # := start ifeq (${WIN32},1) OBJSDIR := objs-mingw32/ -else ifeq (${FINAL},1) +else +ifeq (${FINAL},1) OBJSDIR := objs/ else OBJSDIR := objsd/ endif +endif OBJS := # := start DEPSDIR := deps/ @@ -63,11 +67,13 @@ include ${SRCSDIR}${DIRMK} ifeq (${WIN32},1) WORKINGDIR := bin-mingw32/ -else ifeq (${FINAL},1) +else +ifeq (${FINAL},1) WORKINGDIR := bin/ else WORKINGDIR := bind/ endif +endif CFGDIRNAME := configs/ SRCCFGDIR := ${CFGDIRNAME}