-#################################################################################
-#
-# ghc/lib/Makefile
-#
-# Makefile for building the GHC Prelude libraries umpteen ways
-#
-#
-#################################################################################
-
-TOP = ..
+TOP=..
include $(TOP)/mk/boilerplate.mk
-# posix must be before misc.
-
-ifeq "$(GhcWithHscBuiltViaC)" "YES"
-SUBDIRS = std exts
-else
-SUBDIRS = std exts concurrent misc posix
-endif
+SUBDIRS = compat
include $(TOP)/mk/target.mk