1 include ../Makefile-inc
7 vpath ao_scheme_make_const ../make-const
9 SRCS=$(SCHEME_SRCS) ao_scheme_test.c
10 HDRS=$(SCHEME_HDRS) ao_scheme_const.h
18 CFLAGS=$(DFLAGS) $(OFLAGS) $(PGFLAGS) -g -Wall -Wextra -I. -I.. -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wdeclaration-after-statement -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Wlogical-op -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast
21 cc $(CFLAGS) -o $@ $(OBJS) -lm
22 ./ao-scheme ao_scheme_test.scheme
26 ao_scheme_const.h: ao_scheme_make_const $(SCHEME_SCHEME)
30 rm -f $(OBJS) ao-scheme ao_scheme_const.h
33 install -t $$HOME/bin $^