# This file is part of PSPFormat, a File Format plugin for Adobe Photoshop # Copyright (C) 2003-7 Toby Thain, toby@telegraphics.com.au # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any later version. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA # GNU Makefile CPPFLAGS += -DmemFullErr=-108 -DSETFPOS=SetFPos -DGETFPOS=GetFPos \ -I../../common/tt -I.. -I../../PhotoshopAPI/Photoshop CFLAGS += -O2 LDFLAGS += -lz ZLIB = ../../zlib-1.2.3 vpath %.c .. ../../common/tt $(ZLIB) OBJ = main.o psp.o psp_rle.o psp_util.o psp_strings.o \ file_io.o file_compat_unix.o ZOBJ = adler32.o compress.o crc32.o gzio.o uncompr.o deflate.o \ trees.o zutil.o inflate.o inftrees.o inffast.o all : pspdump clean : rm -f pspdump $(OBJ) $(ZOBJ) pspdump : $(OBJ) #$(ZOBJ) $(CC) -o $@ $^ $(LDFLAGS)