lama_byterun/runtime/Makefile

23 lines
629 B
Makefile
Raw Normal View History

CC=gcc
all: gc_runtime.o gc.o runtime.o test.o
ar rc runtime.a gc_runtime.o runtime.o gc.o
test.o: gc.o gc_runtime.o runtime.o virt_stack.o test_main.c test_util.s
$(CC) -o test.o -g2 -fstack-protector-all -m32 gc.o gc_runtime.o virt_stack.o runtime.o test_main.c test_util.s
virt_stack.o: virt_stack.h virt_stack.c
$(CC) -g2 -fstack-protector-all -m32 -c virt_stack.c
gc.o: gc.c gc.h
$(CC) -g2 -fstack-protector-all -m32 -c gc.c
2018-11-21 14:23:35 +03:00
gc_runtime.o: gc_runtime.s
$(CC) -g2 -fstack-protector-all -m32 -c gc_runtime.s
2018-11-21 14:23:35 +03:00
2021-09-28 03:02:05 +03:00
runtime.o: runtime.c runtime.h
$(CC) -g2 -fstack-protector-all -m32 -c runtime.c
2018-03-04 23:13:08 +03:00
clean:
$(RM) *.a *.o *~