# This Makefile has been generated automatically
# by GccOpts 1.3 (Rodrigo Reyes 1995) and is designed
# to be used with GCC
#
# GccOpts is free software for Amiga.
#
# To compile, just type 'make' in your shell environment.
#


##
## Please do NOT edit this file
##

#OUTP Alcuin
#CPU: 3
#VER: 1.3
#FPU: 0
#OLV: 3
#LNK: 1
#PRJ: key.c A48.c actions.c 
#PRJ: device.c emulate.c init.c 
#PRJ: lcd.c lokal.c main.c 
#PRJ: memory.c romio.c serial.c 
#PRJ: sound.c timer.c 
#OPT: /0000/0000/00/000000000000000000/0000000/00000000000000000000000000000000000

.PHONY : all
.PHONY : clean

# System configuration
SHELL = gnu:bin/sh

# System environment
CC = gcc

CODEGEN = -m68020-40  -noixemul

OPTIMIZATION = -O3

OPTIONS = 

CFLAGS = $(CODEGEN) $(OPTIMIZATION) $(OPTIONS)



LIB = 

OBJ = key.o A48.o actions.o \
	device.o emulate.o init.o \
	lcd.o lokal.o main.o \
	memory.o romio.o serial.o \
	sound.o timer.o 

ARCHIVE = 

Alcuin: $(OBJ)
	$(CC) $(CFLAGS) -o $@ $^ $(ARCHIVE) $(LIB)

all: clean Alcuin

clean:
	rm -f key.o A48.o actions.o device.o \
	emulate.o init.o lcd.o lokal.o \
	main.o memory.o romio.o serial.o \
	sound.o timer.o Alcuin


key.o: key.c 

	$(CC) $(CFLAGS) $(INCL) -c key.c

A48.o: A48.c A48.h main.h   \
	hp48.h mmu.h romio.h   \
	lokal.h version.h 

	$(CC) $(CFLAGS) $(INCL) -c A48.c

actions.o: actions.c A48.h hp48.h   \
	mmu.h device.h timer.h   \
	romio.h 

	$(CC) $(CFLAGS) $(INCL) -c actions.c

device.o: device.c hp48.h mmu.h   \
	device.h timer.h 

	$(CC) $(CFLAGS) $(INCL) -c device.c

emulate.o: emulate.c A48.h hp48.h   \
	mmu.h device.h timer.h   \
	saturn-opc.h cpu-func.h bcd.h   \
	register.c functions/add.c functions/sub.c   \
	functions/subr.c functions/neg.c functions/not.c   \
	functions/inc.c functions/dec.c functions/lsl.c   \
	functions/lsl_1.c functions/lsr.c functions/lsr_1.c   \
	functions/clr.c functions/and.c functions/or.c   \
	functions/add_con.c functions/sub_con.c functions/load.c   \
	functions/store.c functions/move.c functions/exg.c   \
	functions/eqz.c functions/nez.c functions/eq.c   \
	functions/ne.c functions/le.c functions/lt.c   \
	functions/ge.c functions/gt.c insn_read.c   \
	exec-switch.c table.h romio.h 

	$(CC) $(CFLAGS) $(INCL) -c emulate.c

init.o: init.c hp48.h mmu.h   \
	device.h main.h romio.h   \
	version.h 

	$(CC) $(CFLAGS) $(INCL) -c init.c

lcd.o: lcd.c A48.h main.h   \
	hp48.h mmu.h annunc.h   \
	device.h 

	$(CC) $(CFLAGS) $(INCL) -c lcd.c

lokal.o: lokal.c 

	$(CC) $(CFLAGS) $(INCL) -c lokal.c

main.o: main.c hp48.h mmu.h   \
	version.h 

	$(CC) $(CFLAGS) $(INCL) -c main.c

memory.o: memory.c A48.h hp48.h   \
	mmu.h device.h romio.h   \
	main.h 

	$(CC) $(CFLAGS) $(INCL) -c memory.c

romio.o: romio.c romio.h 

	$(CC) $(CFLAGS) $(INCL) -c romio.c

serial.o: serial.c main.h hp48.h   \
	mmu.h device.h 

	$(CC) $(CFLAGS) $(INCL) -c serial.c

sound.o: sound.c hp48.h mmu.h 

	$(CC) $(CFLAGS) $(INCL) -c sound.c

timer.o: timer.c hp48.h mmu.h   \
	timer.h romio.h crc.h 

	$(CC) $(CFLAGS) $(INCL) -c timer.c

#END OF FILE#
