Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Makefile: trying to get it to compile on windows.

  • Loading branch information...
commit cf0db9af4694e60c78b3603edfa86616b98b32ce 1 parent 866fb04
@orangea orangea authored
Showing with 6 additions and 4 deletions.
  1. +6 −4 Makefile
View
10 Makefile
@@ -32,10 +32,12 @@ COMMIT = `git rev-list HEAD -1 --abbrev=7 --abbrev-commit`
RELEASE ?= ${VERSION}.${REVISION}
PKG := "potion-${RELEASE}"
-MINGW = `./tools/config.sh ${CC} mingw`
-CFLAGS += ${if ${seq ${MINGW},0},-rdynamic}
-INCS += ${if ${seq ${MINGW},1},-Itools/dlfcn-win32/include}
-LIBS += ${if ${seq ${MINGW},1},-Ltools/dlfcn-win32/lib}
+ifeq "`./tools/config.sh ${CC} mingw`" "0"
+ CFLAGS += -rdynamic
+else
+ INCS += -Itools/dlfcn-win32/include
+ LIBS += -Ltools/dlfcn-win32/lib
+endif
all: pn
+${MAKE} -s usage
Please sign in to comment.
Something went wrong with that request. Please try again.