packages feed

hsshellscript-3.3.0: test/Makefile

CFLAGS=-XDeriveDataTypeable

% : %.o cteile.o ../dist/build/libHShsshellscript-3.3.0.a
	ghc -o $@ $^ -package haskell2010 -package unix

%.o : %.hs
	ghc $(CFLAGS) -c $^

%.o : %.c
	ghc $(CFLAGS) -c $^

%.hs : %.chs
	-chmod u+w $@
	c2hs  -o $@ $<
	chmod u-w $@

clean ::
	rm *.hi *.o *~