# MAKEFILE - Makefile for C25SIM and SAMPLE # Copyright (C) 1995 Will Ware # 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., 675 Mass Ave, Cambridge, MA 02139, USA. all: c25sim.exe sample.exe c25sim.obj: c25sim.c c25lib.h cl /c c25sim.c #################################################################### # Use Microsoft to exploit functions in windows.c c25sim.exe: c25sim.obj windows.obj c25lib.obj cl c25sim.obj windows.obj c25lib.obj /link graphics windows.obj: windows.c windows.h cl /c windows.c #################################################################### # Microsoft C object file c25lib.obj: c25lib.c c25lib.h cl /c c25lib.c #################################################################### # Borland Turbo C object file c25libt.obj: c25lib.c c25lib.h tcc -oc25libt.obj -c c25lib.c #################################################################### # Use Turbo to get tighter, faster code sample.exe: sample.c c25lib.h c25libt.obj tcc sample.c c25libt.obj