Cope with lower maximum number of fds
[sbcl.git] / tools-for-build / Makefile
blob0c450403711e6cc112fc288b763d802a371c1318
1 # This software is part of the SBCL system. See the README file for
2 # more information.
4 # This software is derived from the CMU CL system, which was
5 # written at Carnegie Mellon University and released into the
6 # public domain. The software is in the public domain and is
7 # provided with absolutely no warranty. See the COPYING and CREDITS
8 # files for more information.
10 -include genesis/Makefile.features # for grovel-headers
11 -include Config
13 # Do not append to CFLAGS otherwise -I can override the -I below.
14 CFLAGS:=-I../src/runtime $(CFLAGS)
15 LDFLAGS:=$(LDFLAGS)
16 LDLIBS:=$(OS_LIBS)
18 all: grovel-headers determine-endianness where-is-mcontext mmap-rwx avx2
20 perfecthash: ../src/runtime/perfecthash.c
21 $(CC) -DDEFINE_MAIN $(LINKFLAGS) $(CPPFLAGS) $(CFLAGS) -o $@ $^
23 clean:
24 rm -f *.o grovel-headers determine-endianness where-is-mcontext mmap-rwx avx2 perfecthash
25 rm -f *.exe
26 rm -fr *.dSYM