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 idris_stdfgn.o mini-gmp.o \
5 idris_buffer.o getline.o idris_net.o
6HDRS = idris_rts.h idris_heap.h idris_gc.h idris_gmp.h idris_bitstring.h \
7 idris_opts.h idris_stats.h mini-gmp.h idris_stdfgn.h idris_net.h \
8 idris_buffer.h idris_utf8.h getline.h
10CFLAGS += $(GMP_INCLUDE_DIR) $(GMP) -DIDRIS_TARGET_OS="\"$(OS)\""
11CFLAGS += -DIDRIS_TARGET_TRIPLE="\"$(MACHINE)\""
13# NOTE: This works around glibc 2.11 not declaring pthread_mutexattr_settype
14# and PTHREAD_MUTEX_RECURSIVE by default, causing compilation failures on
15# Debian 6 and Ubuntu 10.04 LTS.
17ifneq ($(shell ldd --version | head -n 1 | grep 2.11),)
18 CFLAGS += -D_GNU_SOURCE
23 OBJS += windows/win_utils.o
28LIBTARGET = libidris_rts.a
30build: $(LIBTARGET) $(DYLIBTARGET)
33 $(AR) rc $(LIBTARGET) $(OBJS)
34 $(RANLIB) $(LIBTARGET)
38 install $(LIBTARGET) $(HDRS) $(TARGET)
41 rm -f $(OBJS) $(LIBTARGET) $(DYLIBTARGET)
43idris_rts.o: idris_rts.h
45.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