blob: 43388fd9a6f941787c61bf9d8c4ee364dc9e77f2 (
plain)
1
2
3
4
5
6
7
8
9
|
-include ../tools.mk
all:
$(RUSTC) lib.rs
ln -nsf $(call DYLIB,boot-*) $(call DYLIB,boot)
$(CC) main.c -o $(call RUN,main) -lboot
$(call RUN,main)
rm $(call DYLIB,boot)
$(call FAIL,main)
|