662ac40c2026e9004919afc7f8e026d0d89afcba
[ghc-hetmet.git] / ghc / lib / std / cbits / Makefile
1 # $Id: Makefile,v 1.3 1999/03/02 20:14:00 sof Exp $
2
3 TOP = ../../..
4 include $(TOP)/mk/boilerplate.mk
5 override WAYS=
6
7 LIBRARY=libHS_cbits.a
8 INSTALL_LIBS+=$(LIBRARY)
9
10 C_SRCS= $(wildcard *.c)
11
12 C_OBJS  = $(C_SRCS:.c=.o)
13 LIBOBJS = $(C_OBJS)
14 SRC_CC_OPTS += -O -I$(GHC_INCLUDE_DIR) $(GhcLibCcOpts)
15
16
17 #
18 # Compile the files using the Haskell compiler (ghc really).
19
20 CC=$(HC)
21
22 SRC_MKDEPENDC_OPTS += -I$(GHC_INCLUDE_DIR)
23
24 include $(TOP)/mk/target.mk