X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;ds=sidebyside;f=ghc%2Flib%2Fcompat%2FMakefile;fp=ghc%2Flib%2Fcompat%2FMakefile;h=1005ec8a87428d8ced048550c432997b377265c6;hb=4ce6370b895d654dcccabd794b96dc1d03fbd649;hp=89fe9a43dc2d2906d9938d1aa2c4f01c9f8388cd;hpb=0ccda78f87045a3247325c6e8ae9149c3264ba70;p=ghc-hetmet.git diff --git a/ghc/lib/compat/Makefile b/ghc/lib/compat/Makefile index 89fe9a4..1005ec8 100644 --- a/ghc/lib/compat/Makefile +++ b/ghc/lib/compat/Makefile @@ -15,12 +15,15 @@ LIBRARY = libghccompat.a # We don't want this installed NO_INSTALL_LIBRARY = YES +# Needed so that the libraries can #include relative to this directory. +INCLUDE_DIRS=-I. -Iinclude + +SRC_HC_OPTS += $(INCLUDE_DIRS) +MKDEPENDC_OPTS += $(INCLUDE_DIRS) + # Just to silence warnings MKDEPENDC_OPTS += -I$(GHC_INCLUDE_DIR) -# Needed so that the libraries can #include relative to this directory. -SRC_HC_OPTS += -I. -Iinclude - UseGhcForCc = YES # This library is linked to the compiler, at least in stage1, so we