17 lines
268 B
Makefile
Raw Normal View History

-include ../tools.mk
2014-04-27 16:52:36 +09:00
# FIXME: ignore freebsd
ifneq ($(shell uname),FreeBSD)
all:
$(RUSTC) foo.rs
$(CC) bar.c $(call STATICLIB,foo) $(call OUT_EXE,bar) \
2015-08-26 16:57:56 -07:00
$(EXTRACFLAGS) $(EXTRACXXFLAGS)
$(call RUN,bar)
rm $(call STATICLIB,foo)
$(call RUN,bar)
else
all:
endif