Update of /cvsroot/hoc/hoc/Samples/Editor
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv28464/Samples/Editor
Added Files:
Makefile
Removed Files:
Makefile.in
Log Message:
Don't use Makefile.in's in Samples/ directory (keeps things a bit simpler)
--- Makefile.in DELETED ---
--- NEW FILE: Makefile ---
include ../../config.mk
dist_srcdir = Samples/Editor
dist_FILES = \
Contents \
$(wildcard *.hs) \
Makefile.in \
$(NULL)
all: Editor.app
Editor.app: Editor
hocwrap Editor
Editor: *.hs
mkdir -p build
ghc --make -fglasgow-exts Main.hs -odir build -hidir build -O -o Editor
interpret:
mkdir -p build
hocwrap -i -- -fglasgow-exts Main.hs -odir build -hidir build
zerolink: nolink interpret
nolink:
mkdir -p build
ghc --make -fglasgow-exts Main.hs -odir build -hidir build -O -pgml true
clean:
rm -rf build Editor Editor.app 'Interpreted Haskell Application.app/'
|