lookupBindGroupOcc: recommend names in the same namespace (#17593)
[ghc.git] / testsuite / tests / ffi / should_run / Makefile
1 TOP=../../..
2 include $(TOP)/mk/boilerplate.mk
3 include $(TOP)/mk/test.mk
4
5 ffi018_ghci_setup :
6 '$(TEST_HC)' $(TEST_HC_OPTS) -c ffi018_ghci_c.c
7
8 T1288_ghci_setup :
9 # Don't show gcc warning: 'stdcall' attribute ignored [-Wattributes]
10 '$(TEST_HC)' $(TEST_HC_OPTS) $(ghciWayFlags) -c -optc=-Wno-attributes T1288_ghci_c.c
11
12 T2276_ghci_setup :
13 # Don't show gcc warning: 'stdcall' attribute ignored [-Wattributes]
14 '$(TEST_HC)' $(TEST_HC_OPTS) $(ghciWayFlags) -c -optc=-Wno-attributes T2276_ghci_c.c
15
16 ffi002_setup :
17 '$(TEST_HC)' $(TEST_HC_OPTS) -c ffi002.hs
18
19 T5402_setup :
20 '$(TEST_HC)' $(TEST_HC_OPTS) -c T5402.hs
21
22 T5594_setup :
23 '$(TEST_HC)' $(TEST_HC_OPTS) -c T5594.hs
24
25 ffi023_setup :
26 '$(TEST_HC)' $(TEST_HC_OPTS) -c ffi023.hs
27
28 .PHONY: Capi_Ctype_001
29 Capi_Ctype_001:
30 '$(HSC2HS)' Capi_Ctype_A_001.hsc
31 '$(HSC2HS)' Capi_Ctype_001.hsc
32 '$(TEST_HC)' $(TEST_HC_OPTS) -c capi_ctype_001_c.c
33 '$(TEST_HC)' $(TEST_HC_OPTS) -c Capi_Ctype_A_001.hs
34 '$(TEST_HC)' $(TEST_HC_OPTS) -c Capi_Ctype_001.hs
35 '$(TEST_HC)' $(TEST_HC_OPTS) capi_ctype_001_c.o Capi_Ctype_A_001.o Capi_Ctype_001.o -o Capi_Ctype_001
36 ./Capi_Ctype_001
37
38 .PHONY: Capi_Ctype_002
39 Capi_Ctype_002:
40 '$(HSC2HS)' Capi_Ctype_A_002.hsc
41 '$(TEST_HC)' $(TEST_HC_OPTS) -c Capi_Ctype_A_002.hs
42 '$(TEST_HC)' $(TEST_HC_OPTS) -c Capi_Ctype_002.hs
43 '$(TEST_HC)' $(TEST_HC_OPTS) Capi_Ctype_A_002.o Capi_Ctype_002.o -o Capi_Ctype_002
44 ./Capi_Ctype_002
45