# This file is part of "life", a filter plugin for Adobe Photoshop # Copyright (C) 2003-6 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 # mingw32 Makefile CC = i386-mingw32msvc-gcc DLLWRAP = i386-mingw32msvc-dllwrap WINDRES = i386-mingw32msvc-windres #PSAPI = "c:/program files/adobe/adobe photoshop 6.0 sdk/photoshopapi" PSAPI = "../PhotoshopAPI" CFLAGS = -O2 -W -Wall CPPFLAGS = -DWIN_ENV \ -I$(PSAPI)/Pica_sp -I$(PSAPI)/Photoshop -I$(PSAPI)/General \ -I../common/adobeplugin -I../common/tt OBJ = main.o process.o ui_win.o res.o ../common/adobeplugin/dllmain.o EXEC = life.8bf all : $(EXEC) ui_win.o : version.h clean : rm -f $(OBJ) $(EXEC) $(SRCARCHIVE) $(EXEC) : exports.def $(OBJ) $(DLLWRAP) -o $@ -def exports.def $(OBJ) -mwindows -s ls -l $@ res.o : PiPL.rc $(WINDRES) -i $^ -o $@