altos/scheme: Add Makefile for scheme test app
[fw/altos] / src / scheme / test / Makefile
1 include ../Makefile-inc
2
3 vpath %.o .
4 vpath %.c ..
5 vpath %.h ..
6
7 SRCS=$(SCHEME_SRCS) ao_scheme_test.c
8
9 OBJS=$(SRCS:.c=.o)
10
11 CFLAGS=-O2 -g -Wall -Wextra -I. -I..
12
13 ao_scheme_test: $(OBJS)
14         cc $(CFLAGS) -o $@ $(OBJS) -lm
15
16 $(OBJS): $(SCHEME_HDRS)
17
18 clean::
19         rm -f $(OBJS) ao_scheme_test