added pg.dll
authorPatrik Gornicz <Gornicz.P@gmail.com>
Sat, 2 May 2009 20:56:11 +0000 (16:56 -0400)
committerPatrik Gornicz <Gornicz.P@gmail.com>
Sat, 2 May 2009 20:56:27 +0000 (16:56 -0400)
Makefile
libs/pg.dll [new symlink]

index 9b5a2f6..769b91d 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -85,7 +85,11 @@ CFGS := $(addprefix ${DSTCFGDIR},${CFGS})
 
 LIBSDIRNAME := libs/
 SRCLIBSDIR  := ${LIBSDIRNAME}
-DSTLIBSDIR  := ${WORKINGDIR}${LIBSDIRNAME}
+ifeq (${WIN32},1)
+    DSTLIBSDIR  := ${WORKINGDIR}
+else
+    DSTLIBSDIR  := ${WORKINGDIR}${LIBSDIRNAME}
+endif
 
 LIBSTXT     := # := start
 LIBSTXT     += COPYING-SDL
@@ -96,6 +100,7 @@ LIBSTXT     := $(addprefix ${DSTLIBSDIR},${LIBSTXT})
 LIBSCPY     := # := start
 ifeq (${WIN32},1)
     LIBSCPY += SDL.dll
+    LIBSCPY += pg.dll
 else
     LIBSCPY += libSDL-1.2.so.0
     LIBSCPY += libpg.so.0
@@ -126,12 +131,17 @@ BLDDIRS     += ${DEPSBLDDIRS}
 BLDDIRS     += ${WORKINGDIR}
 BLDDIRS     += ${DSTCFGDIR}
 BLDDIRS     += ${DSTLIBSDIR}
+BLDDIRS     := $(sort ${BLDDIRS}) # remove possible duplicates
 
 INCDIRS     := ${SRCSDIR}
 INCFLAGS    := $(addprefix -I, ${INCDIRS})
 
 
-PRNTFMT := printf "%-5s: %s\n"
+ifeq (${WIN32},1)
+    PRNTFMT := printf "%-12s: %s\n"
+else
+    PRNTFMT := printf "%-8s: %s\n"
+endif
 
 VERBOSE := 0
 
diff --git a/libs/pg.dll b/libs/pg.dll
new file mode 120000 (symlink)
index 0000000..dd86165
--- /dev/null
@@ -0,0 +1 @@
+/usr/mingw32/lib/pg.dll
\ No newline at end of file