mirror of
https://github.com/edwinb/Idris2-boot.git
synced 2024-11-24 04:43:25 +03:00
93871c5fb9
This makes it so gmake gets used instead of make on *BSD, refactors how platforms are handled in general.
14 lines
215 B
Makefile
14 lines
215 B
Makefile
include config.mk
|
|
|
|
.PHONY: idris2 clean
|
|
|
|
all: idris2
|
|
|
|
idris2: idris2.c
|
|
$(MAKE) -C rts
|
|
$(CC) $(OPT) idris2.c -o idris2 -I rts -L rts -lidris_rts $(GMP_LIB_DIR) -lgmp -lm
|
|
|
|
clean:
|
|
${MAKE} -C rts clean
|
|
rm -f idris2
|