1 include ../Makefile-inc
7 SRCS=$(SCHEME_SRCS) ao_scheme_make_const.c
8 HDRS=$(SCHEME_HDRS) ao_scheme_os.h
13 CFLAGS=-DAO_SCHEME_MAKE_CONST -O0 -g -I. -Wall -Wextra -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
16 $(CC) -c $(CFLAGS) $< -o $@
18 all: ao_scheme_make_const
20 ao_scheme_make_const: $(OBJS)
21 $(CC) $(CFLAGS) -o $@ $^ -lm
24 rm -f $(OBJS) ao_scheme_make_const
26 $(OBJS): $(SCHEME_HDRS)