1 # $Id: Makefile,v 1.5 1997/08/25 22:40:59 sof Exp $
4 include $(TOP)/mk/boilerplate.mk
8 INSTALL_LIBS+=$(LIBRARY)
10 SRCS= $(wildcard *.lc)
12 C_SRCS = $(SRCS:.lc=.c)
13 C_OBJS = $(C_SRCS:.c=.o)
15 SRC_CC_OPTS = -O -I$(GHC_INCLUDE_DIR)
18 # Compile the files using the Haskell compiler (ghc really).
23 # Remove the intermediate .c files
24 # (the .o's will be removed automatically by default mk setup)
26 CLEAN_FILES += $(C_SRCS)
28 SRC_MKDEPENDC_OPTS += -I$(GHC_INCLUDE_DIR)
30 include $(TOP)/mk/target.mk