[project @ 2005-08-10 11:09:05 by simonpj]
[ghc-hetmet.git] / ghc / utils / hsc2hs / Makefile
index 67aa40d..ccaf68e 100644 (file)
@@ -10,8 +10,8 @@ INCLUDE_DIR=ghc/includes
 
 INSTALLING=1
 
-SRC_HC_OPTS += -i$(GHC_LIB_COMPAT_DIR)
-SRC_LD_OPTS += -L$(GHC_LIB_COMPAT_DIR) -lghccompat
+# This causes libghccompat.a to be used:
+include $(GHC_LIB_COMPAT_DIR)/compat.mk
 
 # This is required because libghccompat.a must be built with
 # $(GhcHcOpts) because it is linked to the compiler, and hence