projects
/
fw
/
altos
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
dd2ed58
)
altos/scheme: Add Makefile for scheme test app
author
Keith Packard
<keithp@keithp.com>
Mon, 11 Dec 2017 00:55:57 +0000
(16:55 -0800)
committer
Keith Packard
<keithp@keithp.com>
Mon, 11 Dec 2017 20:20:25 +0000
(12:20 -0800)
Signed-off-by: Keith Packard <keithp@keithp.com>
src/scheme/test/Makefile
[new file with mode: 0644]
patch
|
blob
diff --git a/src/scheme/test/Makefile
b/src/scheme/test/Makefile
new file mode 100644
(file)
index 0000000..
9d39d33
--- /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