Makefile 300 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10
TOP=../../..
include $(TOP)/mk/boilerplate.mk
include $(TOP)/mk/test.mk

T12771:
	'$(TEST_CC)' -c foo.c -o foo.o
	'$(AR)' rsc libfoo.a foo.o
	'$(TEST_HC)' -shared foo_dll.c -o libfoo-1.dll
	mv libfoo-1.dll.a libfoo.dll.a
	echo main | '$(TEST_HC)' $(TEST_HC_OPTS_INTERACTIVE) main.hs -lfoo -L"$(PWD)"