CC      = gcc

#
# And now a message to all you "assembly gurus" out there saying all kinds
# of things about C and freeware compilers. :
#
# Eat your heart out speedfreaks. The following line turns on GCC's
# optimizations. It eats a lot of memory compile time. But it gives a 
# speed performance of 200 %. Yes you saw that correctly, 200 % .
# not bad for 2 minutes reading the DOC 30 seconds typing it in en 2 minutes
# typing in this message to you.
#
# Go find youreselves a corner and start crying. :-) .
#
# Oh before I forget, flames will not be answered.
# 
# Allard.
#

CFLAGS = -funroll-all-loops -finline-functions -fomit-frame-pointer -O3 -Wall


missy:  milli.o 6502.o 
	gcc -s -o milli.exe milli.o 6502.o -lalleg

milli.o: milli.c 6502.h dipswtch.h
	 gcc $(CFLAGS) -c milli.c

6502.o:  6502.c 6502.h 
	gcc $(CFLAGS) -c 6502.c

clean:
	del *.o 
	del core 
	del milli.exe
