#
# Copyright (C) 2017 FAUmachine Team <info@faumachine.org>.
# This program is free software. You can redistribute it and/or modify it
# under the terms of the GNU General Public License, either version 2 of
# the License, or (at your option) any later version. See COPYING.
#

SIMULATION_PC := pc-amd64-pci-int.vhdl
CHANGE_DISK_SIZE := 256
CDROM_IMAGE := cd.iso
DVD_IMAGE := Debian-4.0r0-amd64-DVD-1

cd.iso: eepro100-diag
	mkdir cd
	cp eepro100-diag cd
	genisoimage -r -T -v -o cd.iso cd
	rm -rf cd
clean distclean::
	rm -f cd.iso

include $(dir $(shell which faum))/../share/faumachine/vhdl/experiment.mk

eepro100-diag: eepro100-diag.c
	cc -Wall -O -static -o eepro100-diag eepro100-diag.c
	echo cc -Wall -O -m32 -static -o eepro100-diag eepro100-diag.c
clean distclean::
	rm -f eepro100-diag
