Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
22 lines (14 sloc) 419 Bytes
CC = clang
#CFLAGS = -std=c99 -pedantic -Wall -Wextra -Werror -DNDEBUG -Os
CFLAGS = -std=c99 -pedantic -Wall -Wextra -Werror -g -DDEBUG -O0
OBJECTS = object.o read.o eval.o write.o gc.o symtab.o buffer.o stack.o \
error.o rescheme.o
.PHONY: clean cleaner
rescheme: $(OBJECTS)
$(CC) -o $@ $(OBJECTS)
%.o: %.c rescheme.h rescheme_p.h
$(CC) $(CFLAGS) -c $<
clean:
rm -f *.o *~
cleaner: clean
rm -f rescheme