# Copyright (c) 2000 - 2008 Tim Barbour. # setup top-level Makefile include gluon_top_level.mk ifeq ($($(already_seen)),) # tell ghc to use cpp, give all warnings, use the recompilation checker and Glasgow extensions HSFLAGS += -cpp -Wall -recomp -fglasgow-exts # tell gcc to give all warnings too, and treat them as errors CFLAGS += -Wall -Werror # warn about references to undefined preprocessor macros (other than via defined(x)) CFLAGS += -Wundef # turn off strict aliasing, since it causes some silly warnings, and the kernel does not use it anyway CFLAGS += -fno-strict-aliasing # support multi-threading CFLAGS += -D_REENTRANT endif SUBDIR_DEPS = pmm : klunk \ storabs : highland; \ mmhs : storabs highland extradis klunk include gluon.mk