ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/cvsroot/microscheme/Makefile
Revision: 1.2
Committed: Thu Nov 26 21:32:16 2015 UTC (8 years, 7 months ago) by root
Branch: MAIN
Changes since 1.1: +1 -1 lines
Log Message:
*** empty log message ***

File Contents

# Content
1 FEATURES = -DUSE_MATH=0 -DUSE_MULTIPLICITY=0 -DUSE_ASCII_NAMES=0 -DUSE_CHAR_CLASSIFIERS=0 -DUSE_PORTS=1 -DUSE_STRING_PORTS=0 -DUSE_TRACING=0 -DUSE_ERROR_HOOK=0 -DUSE_FLOAT=0 -DUSE_ERROR_CHECKING=1 -DUSE_PRINTF=0 -DCELL_SEGSIZE=2048
2
3 #CC = clang -Wno-switch # -fsanitize=address
4 CC = gcc -flto # -fsanitize=address
5 LD = $(CC)
6 CFLAGS = -g -Os -ffunction-sections -fdata-sections -Wl,--as-needed $(FEATURES)
7 LDFLAGS = -lm
8
9 all: scheme
10
11 scheme.o: scheme.c malloc.c scheme.h scheme-private.h opdefines.h Makefile
12
13 scheme: scheme.o
14
15 clean:
16 $(RM) *.o scheme
17 $(RM) *~
18