This commit is contained in:
Fabian Greffrath 2020-01-22 13:31:46 +01:00
commit b5f2786d73
5 changed files with 6 additions and 8 deletions

View File

@ -9,5 +9,6 @@ SUBDIRS = \
configs \ configs \
docs \ docs \
examples \ examples \
pkg \
Source \ Source \
toolsrc toolsrc

View File

@ -54,8 +54,6 @@ AC_CHECK_TYPES([ptrdiff_t])
# Checks for library functions. # Checks for library functions.
AC_FUNC_ALLOCA AC_FUNC_ALLOCA
AC_FUNC_ERROR_AT_LINE AC_FUNC_ERROR_AT_LINE
AC_FUNC_MALLOC
AC_FUNC_REALLOC
AC_CHECK_FUNCS([atexit memmove memset mkdir pow putenv strcasecmp strchr strdup strerror strncasecmp strrchr strstr strtol]) AC_CHECK_FUNCS([atexit memmove memset mkdir pow putenv strcasecmp strchr strdup strerror strncasecmp strrchr strstr strtol])
AC_ARG_ENABLE([dogs], AS_HELP_STRING([--disable-dogs], [Disable support for helper dogs])) AC_ARG_ENABLE([dogs], AS_HELP_STRING([--disable-dogs], [Disable support for helper dogs]))
@ -84,6 +82,7 @@ examples/Makefile
Source/Makefile Source/Makefile
Source/resource.rc Source/resource.rc
toolsrc/Makefile toolsrc/Makefile
pkg/Makefile
pkg/config.make pkg/config.make
]) ])
AC_OUTPUT AC_OUTPUT

View File

@ -1,8 +1,7 @@
WIN32_FILES= \ WIN32_FILES= \
win32/GNUmakefile \ win32/GNUmakefile \
win32/cp-with-libs \ win32/cp-with-libs
win32/README
EXTRA_DIST=$(WIN32_FILES) EXTRA_DIST=$(WIN32_FILES)

View File

@ -6,9 +6,8 @@
# Tools needed: # Tools needed:
CC = @CC@ CC = @CC@
OBJDUMP = @OBJDUMP@
STRIP = @STRIP@ STRIP = @STRIP@
LDFLAGS = @LDFLAGS@ LDFLAGS = @SDL_LIBS@
# Package name and version number: # Package name and version number:

View File

@ -3,7 +3,7 @@ include ../config.make
TOPLEVEL=../.. TOPLEVEL=../..
ZIP=$(PACKAGE)$(PACKAGE_VERSION)-win32.zip ZIP=$(PACKAGE)-$(PACKAGE_VERSION)-win32.zip
all: $(ZIP) all: $(ZIP)
@ -12,7 +12,7 @@ $(ZIP): staging
staging: staging:
mkdir $@ mkdir $@
LC_ALL=C ./cp-with-libs --ldflags="$(LDFLAGS)" "$(TOPLEVEL)/Source/woof.exe" LC_ALL=C ./cp-with-libs --ldflags="$(LDFLAGS)" "$(TOPLEVEL)/Source/woof.exe" $@
$(STRIP) $@/*.exe $@/*.dll $(STRIP) $@/*.exe $@/*.dll