Differences From
Artifact [5ed7cc8a39]:
9 9 headers = $(wildcard *.h) $(gen-headers) $(patsubst %.m,%,$(wildcard *.h.m))
10 10
11 11 tools = $(filter %.exe.c, $(src))
12 12 nontools = $(filter-out %.exe.c, $(src))
13 13 cobjects = $(filter %.c, $(nontools))
14 14 sobjects = $(filter %.${TARGET}.s, $(nontools))
15 15
16 -cflags = -std=c11 -isystem ${OUT} -isystem ${ROOT}/arch -fPIC -nostdlib ${COMPLIB} -L${OUT}
16 +cflags = -std=c11 -isystem ${OUT} -isystem ${TMP} -isystem ${ROOT}/arch -fPIC -nostdlib ${COMPLIB} -L${OUT}
17 17
18 18 m-env = atom_target_arch=${ARCH}
19 19 m-env += atom_target_os=${OS}
20 20 ifneq (${BITS},) #!!! ifdef does NOT work with environment variables
21 21 m-env += atom_target_bits=${BITS}
22 22 endif
23 23 m-env += target_posix=${POSIX}