From 5ab56236b9cfb4f04aee7c93eb0c27e7bec9d600 Mon Sep 17 00:00:00 2001 From: Patrik Gornicz Date: Sat, 2 May 2009 16:56:11 -0400 Subject: [PATCH] added pg.dll --- Makefile | 14 ++++++++++++-- libs/pg.dll | 1 + 2 files changed, 13 insertions(+), 2 deletions(-) create mode 120000 libs/pg.dll diff --git a/Makefile b/Makefile index 9b5a2f6..769b91d 100644 --- 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 index 0000000..dd86165 --- /dev/null +++ b/libs/pg.dll @@ -0,0 +1 @@ +/usr/mingw32/lib/pg.dll \ No newline at end of file -- 2.10.2