remove empty dir
[ghc-hetmet.git] / glafp-utils / Makefile
index 24f2b6b..d9a8b2e 100644 (file)
@@ -1,15 +1,19 @@
-TOP=..
-include $(TOP)/mk/gen.mk
+#################################################################################
+#
+#                          glafp-utils/Makefile
+#
+#              Main Makefile for project glafp-utils
+#
+#################################################################################
 
-# We need to boot msub and mkdependC (in that order), to be sure that
-# make depend will succeed in all the other directories.
-
-SUBDIRS = msub mkdependC fastmake lndir ltx mkdirhier runstdtest
+TOP=.
+include $(TOP)/mk/boilerplate.mk
 
-boot ::
-       $(MAKE) -C msub all
-       $(MAKE) -C mkdependC all
-       $(MAKE) depend
-       $(MAKE) all
+# We need to write mkdependC first (in that order), to be sure that
+# make depend will succeed in all the other directories.
+SUBDIRS = mkdependC mkdirhier runstdtest
+ifneq "$(TARGETPLATFORM)" "i386-unknown-mingw32"
+SUBDIRS += lndir
+endif
 
-include $(TOP)/mk/subdir.mk
+include $(TOP)/mk/target.mk