diff options
author | Keith Packard <keithp@keithp.com> | 2017-12-10 16:55:57 -0800 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2017-12-11 12:20:25 -0800 |
commit | 7d77071f5b45632937f262600ca95c7b71f4d3da (patch) | |
tree | 588b3bc25d7d821ace1b715aa48d142327ba3877 /src/scheme | |
parent | dd2ed58fcdffaff7b5a9ef898affa3e1ec01ef44 (diff) |
altos/scheme: Add Makefile for scheme test app
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src/scheme')
-rw-r--r-- | src/scheme/test/Makefile | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/src/scheme/test/Makefile b/src/scheme/test/Makefile new file mode 100644 index 00000000..9d39d33e --- /dev/null +++ b/src/scheme/test/Makefile @@ -0,0 +1,19 @@ +include ../Makefile-inc + +vpath %.o . +vpath %.c .. +vpath %.h .. + +SRCS=$(SCHEME_SRCS) ao_scheme_test.c + +OBJS=$(SRCS:.c=.o) + +CFLAGS=-O2 -g -Wall -Wextra -I. -I.. + +ao_scheme_test: $(OBJS) + cc $(CFLAGS) -o $@ $(OBJS) -lm + +$(OBJS): $(SCHEME_HDRS) + +clean:: + rm -f $(OBJS) ao_scheme_test |