72 lines · 2.5 KB · Text
RawDownload
# DJGPP (DOS gcc) makefile for libpng# Copyright (C) 2002, 2006, 2009-2014 Glenn Randers-Pehrson# Copyright (C) 1995 Guy Eric Schalnat, Group 42, Inc.## This code is released under the libpng license.# For conditions of distribution and use, see the disclaimer# and license in png.h # where make install will put libpng.a and png.h#prefix=/usr/localprefix=.INCPATH=$(prefix)/includeLIBPATH=$(prefix)/lib CC=gccCPPFLAGS=-I../zlib -DPNG_NO_SNPRINTFCFLAGS=-OLDFLAGS=-L. -L../zlib/ -lpng -lz -lm RANLIB=ranlib CP=cpRM_F=rm -f # Pre-built configuration# See scripts/pnglibconf.mak for more optionsPNGLIBCONF_H_PREBUILT = scripts/pnglibconf.h.prebuilt OBJS = png.o pngset.o pngget.o pngrutil.o pngtrans.o pngwutil.o \	pngread.o pngrio.o pngwio.o pngwrite.o pngrtran.o pngwtran.o \	pngmem.o pngerror.o pngpread.o .c.o:	$(CC) -c $(CPPFLAGS) $(CFLAGS) -o $@ $< all: libpng.a pngtest pnglibconf.h: $(PNGLIBCONF_H_PREBUILT)	$(CP) $(PNGLIBCONF_H_PREBUILT) $@ libpng.a: $(OBJS)	ar rc $@  $(OBJS)	$(RANLIB) $@ pngtest: pngtest.o libpng.a	$(CC) -o pngtest $(CFLAGS) pngtest.o $(LDFLAGS)	coff2exe pngtest test: pngtest	./pngtestclean:	$(RM_F) *.o libpng.a pngtest pngout.png pnglibconf.h # DO NOT DELETE THIS LINE -- make depend depends on it. png.o: png.h pngconf.h pnglibconf.h pngpriv.h pngstruct.h pnginfo.h pngdebug.hpngerror.o: png.h pngconf.h pnglibconf.h pngpriv.h pngstruct.h pnginfo.h pngdebug.hpngrio.o: png.h pngconf.h pnglibconf.h pngpriv.h pngstruct.h pnginfo.h pngdebug.hpngwio.o: png.h pngconf.h pnglibconf.h pngpriv.h pngstruct.h pnginfo.h pngdebug.hpngmem.o: png.h pngconf.h pnglibconf.h pngpriv.h pngstruct.h pnginfo.h pngdebug.hpngset.o: png.h pngconf.h pnglibconf.h pngpriv.h pngstruct.h pnginfo.h pngdebug.hpngget.o: png.h pngconf.h pnglibconf.h pngpriv.h pngstruct.h pnginfo.h pngdebug.hpngread.o: png.h pngconf.h pnglibconf.h pngpriv.h pngstruct.h pnginfo.h pngdebug.hpngpread.o: png.h pngconf.h pnglibconf.h pngpriv.h pngstruct.h pnginfo.h pngdebug.hpngrtran.o: png.h pngconf.h pnglibconf.h pngpriv.h pngstruct.h pnginfo.h pngdebug.hpngrutil.o: png.h pngconf.h pnglibconf.h pngpriv.h pngstruct.h pnginfo.h pngdebug.hpngtrans.o: png.h pngconf.h pnglibconf.h pngpriv.h pngstruct.h pnginfo.h pngdebug.hpngwrite.o: png.h pngconf.h pnglibconf.h pngpriv.h pngstruct.h pnginfo.h pngdebug.hpngwtran.o: png.h pngconf.h pnglibconf.h pngpriv.h pngstruct.h pnginfo.h pngdebug.hpngwutil.o: png.h pngconf.h pnglibconf.h pngpriv.h pngstruct.h pnginfo.h pngdebug.h pngtest.o: png.h pngconf.h pnglibconf.h

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t