From: Patrik Gornicz Date: Sat, 2 May 2009 20:56:11 +0000 (-0400) Subject: added pg.dll X-Git-Url: http://gitweb.pgornicz.com/gitweb.cgi?p=physics.git;a=commitdiff_plain;h=5ab56236b9cfb4f04aee7c93eb0c27e7bec9d600 added 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