mirror of
https://github.com/reactos/reactos.git
synced 2024-09-21 18:17:19 +00:00
29fa274d6d
- TSVN choked repeatedly when attempting to merge ~9000 revs into the branch (tried 3 times on 2 different computers) - If someone wants to delete aicom-network-fixes, they are welcome to - Lesson learned: Letting a branch get thousands of revs out of date is a horrible idea svn path=/branches/aicom-network-branch/; revision=44353
47 lines
683 B
Makefile
Executable file
47 lines
683 B
Makefile
Executable file
# $Id$
|
|
PATH_TO_TOP = ../..
|
|
|
|
TARGET = zlib.host.a
|
|
|
|
CFLAGS = \
|
|
-MMD -O3 -Wall -Wwrite-strings -Wpointer-arith -Wconversion \
|
|
-Wstrict-prototypes -Wmissing-prototypes
|
|
|
|
OBJECTS = \
|
|
adler32.o \
|
|
compress.o \
|
|
crc32.o \
|
|
gzio.o \
|
|
uncompr.o \
|
|
deflate.o \
|
|
trees.o \
|
|
zutil.o \
|
|
inflate.o \
|
|
infblock.o \
|
|
inftrees.o \
|
|
infcodes.o \
|
|
infutil.o \
|
|
inffast.o
|
|
|
|
OBJECTS := $(OBJECTS:%=hostobjs/%)
|
|
|
|
all: hostobjs $(TARGET)
|
|
|
|
hostobjs:
|
|
- $(RMKDIR) hostobjs
|
|
|
|
hostobjs/%.o: %.c
|
|
$(HOST_CC) $(CFLAGS) -c $< -o $@
|
|
|
|
$(TARGET): $(OBJECTS)
|
|
$(HOST_AR) -r $(TARGET) $^
|
|
|
|
clean:
|
|
- $(RM) hostobjs/*
|
|
- $(RM) $(TARGET)
|
|
- $(RMDIR) hostobjs
|
|
|
|
.phony: clean
|
|
|
|
include $(PATH_TO_TOP)/rules.mak
|