# This file is part of 8XI (TI-83 Plus) Format, a File Format plugin for Adobe Photoshop # Copyright (C) 2006 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 # by Toby Thain CC = i386-mingw32msvc-gcc DLLWRAP = i386-mingw32msvc-dllwrap WINDRES = i386-mingw32msvc-windres EXEC = TI8XIFormat.8bi DISTARCHIVE = dist/TI8XIFormat-win.zip all : $(EXEC) #PSAPI = "c:/program files/adobe/adobe photoshop 6.0 sdk/photoshopapi" PSAPI = ../PhotoshopAPI CFLAGS += -W -Wall -O2 -DWIN_ENV \ -I$(PSAPI)/Pica_sp -I$(PSAPI)/Photoshop -I$(PSAPI)/General \ -I../common/adobeplugin -I../common/tt OBJ = main.o read.o write.o ui_win.o \ ../common/tt/str.o ../common/tt/ui_compat_win.o \ ../common/tt/file_compat_win.o ../common/tt/file_io.o \ ../common/tt/dbg_win.o ../common/adobeplugin/dllmain.o \ res.o ui_win.o : version.h res.o : PiPL.rc $(WINDRES) -i PiPL.rc -o $@ clean : rm -f $(OBJ) $(EXEC) dist : $(DISTARCHIVE) $(DISTARCHIVE) : $(EXEC) dist/COPYING zip -j -9 $@ $^ ls -l $@ $(EXEC) : exports.def $(OBJ) $(DLLWRAP) -o $@ -def exports.def $(OBJ) -mwindows -s ls -l $@