3OBJS = idris_rts.o idris_heap.o idris_gc.o idris_gmp.o idris_bitstring.o \
4 idris_opts.o idris_stats.o idris_utf8.o mini-gmp.o getline.o
5HDRS = idris_rts.h idris_heap.h idris_gc.h idris_gmp.h idris_bitstring.h \
6 idris_opts.h idris_stats.h mini-gmp.h idris_stdfgn.h idris_net.h \
9CFLAGS += $(GMP_INCLUDE_DIR) $(GMP) -DIDRIS_TARGET_OS="\"$(OS)\""
10CFLAGS += -DIDRIS_TARGET_TRIPLE="\"$(MACHINE)\""
12# NOTE: This works around glibc 2.11 not declaring pthread_mutexattr_settype
13# and PTHREAD_MUTEX_RECURSIVE by default, causing compilation failures on
14# Debian 6 and Ubuntu 10.04 LTS.
16ifneq ($(shell ldd --version | head -n 1 | grep 2.11),)
17 CFLAGS += -D_GNU_SOURCE
22 OBJS += windows/idris_stdfgn.o windows/idris_net.o windows/win_utils.o
24 OBJS += idris_stdfgn.o idris_net.o
27LIBTARGET = libidris_rts.a
29build: $(LIBTARGET) $(DYLIBTARGET)
32 ar r $(LIBTARGET) $(OBJS)
37 install $(LIBTARGET) $(HDRS) $(TARGET)
40 rm -f $(OBJS) $(LIBTARGET) $(DYLIBTARGET)
42idris_rts.o: idris_rts.h
44.PHONY: build install clean
keysesc to close
- j k
- move down, up
- enter
- open
- esc
- back, or up a level
- 1 2 3 4
- readme, files, commits, refs
- /
- filter
- y
- copy the clone command
- c
- compare the chosen commit with another (or shift-click both)
- ?
- show or hide this list