#makefile for The Ultimate Chip Konstruktor & Utilities

#******************************************************************************
#*                                                                            *
#*            ---=== The Utlimate Chip Konstruktor v1.0 ===---                *
#*           A tiny sound editor to easily create chip samples                *
#*    Copyright (C) 1997  Olivier DOMINIQUE a.k.a. Wahat Herman/BSB           *
#*                                                                            *
#*--== Raw Fast Fourier Transform v1.0 for The Ultimate Chip Konstruktor ==-- *
#*        Create files in the FFT format from an existing sound file          *
#*    Copyright (C) 1997  Frankie LIMONT  a.k.a. Kahar' Touch/BSB             *
#*                                                                            *
#*    Those programs are free software; you can redistribute them and/or      *
#*    modify them 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.                         *
#*                                                                            *
#*    Those programs are distributed in the hope that they 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.               *
#*                                                                            *
#*                                                                            *
#*    A copy of the GNU General Public License is available with this package *
#*    in the main directory (in the file COPYING). Please READ IT to know     *
#*    YOUR rights.                                                            *
#*                                                                            *
#******************************************************************************


all:chip.exe rfft.exe

debug:dchip.exe


chip.exe:chip.c
	gcc chip.c -o../bin/chip.exe -O3 -m486 -ffast-math -fomit-frame-pointer -s
	
dchip.exe:chip.c
	gcc chip.c -o../bin/dchip.exe -DDEBUG

rfft.exe:rfft.c
	gcc rfft.c -o../bin/rfft.exe -O3 -m486 -ffast-math -fomit-frame-pointer -s

clean:
	del ../bin/chip.exe
	del ../bin/dchip.exe
	del ../bin/rfft.exe
