mirror of
https://github.com/edwinb/Idris2-boot.git
synced 2024-11-27 10:41:08 +03:00
[ fix ] build by installing support before tests (#369)
This commit is contained in:
parent
e7d0b33e64
commit
f72f91c67a
@ -4,4 +4,5 @@ copy . /Idris2-dev
|
||||
workdir /Idris2-dev
|
||||
run make idris2
|
||||
run make libs
|
||||
run make install-support
|
||||
run make test INTERACTIVE=''
|
||||
|
2
Makefile
2
Makefile
@ -62,7 +62,7 @@ VALID_IDRIS_VERSION_REGEXP = "1.3.2.*"
|
||||
|
||||
.PHONY: ttimp idris2 idris2-fromc prelude test base clean lib_clean check_version idris2c dist/idris2.c
|
||||
|
||||
all: idris2 libs test
|
||||
all: idris2 libs install-support test
|
||||
|
||||
# test requires an Idris install! Maybe we should do a version in Idris2?
|
||||
all-fromc: idris2-fromc libs
|
||||
|
@ -11,11 +11,12 @@ build : $(LIBTARGET) $(DYLIBTARGET)
|
||||
$(LIBTARGET) : $(OBJS)
|
||||
ar rc $(LIBTARGET) $(OBJS)
|
||||
ranlib $(LIBTARGET)
|
||||
|
||||
|
||||
$(DYLIBTARGET) : $(OBJS)
|
||||
$(CC) -shared $(OBJS) -fPIC -o $(DYLIBTARGET)
|
||||
|
||||
install: $(LIBTARGET) $(DYLIBTARGET)
|
||||
mkdir -p ${PREFIX}/idris2-${IDRIS2_VERSION}/lib
|
||||
install $(LIBTARGET) $(DYLIBTARGET) ${PREFIX}/idris2-${IDRIS2_VERSION}/lib
|
||||
|
||||
clean:
|
||||
|
Loading…
Reference in New Issue
Block a user