lama_byterun/runtime/Makefile
Kakadu 882ca93f89 Allow to specify C compiler when building runtime
Try something like `make -C runtime CC=clang-11 all`. It was tested only
on GNU/Linux

Signed-off-by: Kakadu <Kakadu@pm.me>
2021-02-14 18:54:44 +03:00

12 lines
248 B
Makefile

all: gc_runtime.o runtime.o
ar rc runtime.a gc_runtime.o runtime.o
gc_runtime.o: gc_runtime.s
$(CC) -g -fstack-protector-all -m32 -c gc_runtime.s
runtime.o: runtime.c
$(CC) -g -fstack-protector-all -m32 -c runtime.c
clean:
$(RM) *.a *.o *~