win makefiles

This commit is contained in:
p.kosyh 2010-06-09 07:56:06 +00:00
parent ad2cc9e752
commit 9f61bbcde7
4 changed files with 17 additions and 4 deletions

View File

@ -1,7 +1,7 @@
MAKE=mingw32-make
all: config.make
$(MAKE) -C src\zlib all
$(MAKE) -C src\zlib -f Makefile.windows all
$(MAKE) -C src\sdl-instead all
$(MAKE) -C themes -f Makefile.windows all
@ -10,6 +10,7 @@ config.make:
clean:
$(MAKE) -C src\sdl-instead clean
$(MAKE) -C src\zlib -f Makefile.windows clean
install: all
if not exist bin mkdir bin
@ -20,5 +21,3 @@ install: all
$(MAKE) -C icon -f Makefile.windows install
$(MAKE) -C languages -f Makefile.windows install
$(MAKE) -C doc -f Makefile.windows install

View File

@ -26,6 +26,8 @@ LDFLAGS += -liconv
CC=gcc
RM=del
EXE=.exe
AR=ar -rc
RANLIB=ranlib
INSTALLD=echo mkdir
INSTALL=copy

View File

@ -12,3 +12,6 @@ libz.a: $(OBJS) $(OBJA)
clean:
rm -f *.o *.a
install:

View File

@ -4,5 +4,14 @@ include ../../config.make
OBJS = adler32.o compress.o crc32.o gzio.o uncompr.o deflate.o trees.o \
zutil.o inflate.o infback.o inftrees.o inffast.o
all:
all: libz.a
libz.a: $(OBJS) $(OBJA)
$(AR) $@ $(OBJS) $(OBJA)
$(RANLIB) $@ >null 2>&1
clean:
rm *.o *.a
install: