Idris2-boot/dist/Makefile
Ben Davies 93871c5fb9 Fix builds on *BSD
This makes it so gmake gets used instead of make on *BSD, refactors how
platforms are handled in general.
2020-04-22 11:09:05 -03:00

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