ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/microscheme/Makefile
Revision: 1.1
Committed: Thu Nov 26 10:03:55 2015 UTC (8 years, 6 months ago) by root
Branch: MAIN
Log Message:
*** empty log message ***

File Contents

# User Rev Content
1 root 1.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=0 -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