2 DEFAULT_CFLAGS = -Wall -Os -fomit-frame-pointer $(SITE_CFLAGS)
7 WIN32_OBJS = native\win32\ffi.o native\win32\file.o native\win32\io.o \
8 native\win32\misc.o native\win32\read.o native\win32\write.o \
11 OBJS = $(WIN32_OBJS) native\arithmetic.o native\array.o native\bignum.o \
13 native\complex.o native\cons.o native\error.o \
14 native\factor.o native\fixnum.o \
15 native\float.o native\gc.o \
16 native\image.o native\memory.o \
17 native\misc.o native\port.o native\primitives.o \
18 native\ratio.o native\relocate.o \
20 native\sbuf.o native\stack.o \
21 native\string.o native\types.o native\vector.o \
22 native\word.o native\compiler.o \
23 native\ffi.o native\boolean.o \
28 @echo "Run 'make' with one of the following parameters:"
32 @echo "Also, you might want to set the SITE_CFLAGS environment"
33 @echo "variable to enable some CPU-specific optimizations; this"
34 @echo "can make a huge difference. Eg:"
36 @echo "export SITE_CFLAGS=\"-march=pentium4 -ffast-math\""
39 $(MAKE) -f Makefile.win32 f \
40 CFLAGS="$(DEFAULT_CFLAGS) -DFFI -DWIN32" \
41 LIBS="$(DEFAULT_LIBS)"
44 $(CC) $(LIBS) $(CFLAGS) -o $@ $(OBJS)
51 $(CC) -c $(CFLAGS) -o $@ $<