# This is more to help me remember all the steps than for building :)
# In fact right now this does *not* work as a Makefile. Sorry!

CSC_OPTIONS=-IC:/mylibs/iup/include -LC:/mylibs/iup

eh :
	@echo "Read the make file eh."

chicken-4.6.5
	cd c:/mylibs/src/chicken-4.6.5
	$(MAKE) PLATFORM=mingw PREFIX=c:/chicken

iup-module :
	chicken-install -D no-library-checks iup

canvas-draw-module :
	chicken-install -D no-library-checks canvas-draw

eggs :
	apropos trace regex-case regex-literals format big-chicken pdf sql-de-lite coops tinyclos test regex slime 

sqlite3 :
	set CSC_OPTIONS=-IC:/chicken/include -LC:/chicken
	sqlite3

examples-inst :
	mkdir -p c:/chicken/examples
	cp examples/*.scm c:/chicken/examples

setup-chicken-iup.exe : Output/setup.exe
	cp Output/setup.exe setup-chicken-iup.exe

all : iup-module canvas-draw-module examples-inst # setup-chicken-iup.exe