altos/scheme: Split tests out from build sources
[fw/altos] / src / scheme / tiny-test / Makefile
index ca71a665ee44290d36315a6cf154c4e3d8446f4e..61ef687aa49ad37a9ae16990720a14a597a45896 100644 (file)
@@ -2,6 +2,7 @@ include ../Makefile-inc
 
 vpath %.o .
 vpath %.c ..
+vpath ao_scheme_test.c ../test
 vpath %.h ..
 vpath %.scheme ..
 vpath ao_scheme_make_const ../make-const
@@ -17,6 +18,7 @@ CFLAGS=-O0 -g -Wall -Wextra -I. -I.. -Wpointer-arith -Wmissing-declarations -Wfo
 
 ao-scheme-tiny: $(OBJS)
        cc $(CFLAGS) -o $@ $(OBJS) -lm
+       ./ao-scheme-tiny ao_scheme_tiny_test.scheme
 
 $(OBJS): $(HDRS)