Skip to content
Snippets Groups Projects
Commit 6e390184 authored by Simon Marlow's avatar Simon Marlow
Browse files

[project @ 1998-02-03 10:17:19 by simonm]

take into account $(GhcLibsWithReadline).
parent ae21acc5
No related merge requests found
......@@ -18,6 +18,14 @@ endif
LIBRARY = libHS$(_way).a
HS_SRCS = $(wildcard *.lhs)
# Remove Readline.lhs if readline.h isn't available.
ifneq "$(GhcLibsWithReadline)" "YES"
HS_SRCS := $(filter-out src/Readline.lhs,$(HS_SRCS))
else
SRC_HC_OPTS += -I$(ReadlineIncludePath)
endif
HS_OBJS = $(HS_SRCS:.lhs=.$(way_)o)
LIBOBJS = $(HS_OBJS)
HS_IFACES= $(HS_SRCS:.lhs=.$(way_)hi) GHC.$(way_)hi
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment