URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [zlib/] [win32/] [Makefile.emx] - Rev 745
Compare with Previous | Blame | View Log
# Makefile for zlib. Modified for emx/rsxnt by Chr. Spieler, 6/16/98.# Copyright (C) 1995-1998 Jean-loup Gailly.# For conditions of distribution and use, see copyright notice in zlib.h# To compile, or to compile and test, type:## make -fmakefile.emx; make test -fmakefile.emx#CC=gcc -Zwin32#CFLAGS=-MMD -O#CFLAGS=-O -DMAX_WBITS=14 -DMAX_MEM_LEVEL=7#CFLAGS=-MMD -g -DDEBUGCFLAGS=-MMD -O3 $(BUTT) -Wall -Wwrite-strings -Wpointer-arith -Wconversion \-Wstrict-prototypes -Wmissing-prototypes# If cp.exe is available, replace "copy /Y" with "cp -fp" .CP=copy /Y# If gnu install.exe is available, replace $(CP) with ginstall.INSTALL=$(CP)# The default value of RM is "rm -f." If "rm.exe" is found, comment out:RM=delLDLIBS=-L. -lzlibLD=$(CC) -s -oLDSHARED=$(CC)INCL=zlib.h zconf.hLIBS=zlib.aAR=ar rcsprefix=/usr/localexec_prefix = $(prefix)OBJS = adler32.o compress.o crc32.o gzio.o uncompr.o deflate.o trees.o \zutil.o inflate.o infback.o inftrees.o inffast.oTEST_OBJS = example.o minigzip.oall: example.exe minigzip.exetest: all./exampleecho hello world | .\minigzip | .\minigzip -d%.o : %.c$(CC) $(CFLAGS) -c $< -o $@zlib.a: $(OBJS)$(AR) $@ $(OBJS)%.exe : %.o $(LIBS)$(LD) $@ $< $(LDLIBS).PHONY : cleanclean:$(RM) *.d$(RM) *.o$(RM) *.exe$(RM) zlib.a$(RM) foo.gzDEPS := $(wildcard *.d)ifneq ($(DEPS),)include $(DEPS)endif
