/[jscoverage]/trunk/js/config/Cygwin.mk
ViewVC logotype

Contents of /trunk/js/config/Cygwin.mk

Parent Directory Parent Directory | Revision Log Revision Log


Revision 362 - (show annotations)
Sun Oct 26 19:57:07 2008 UTC (13 years, 7 months ago) by siliconforks
File size: 385 byte(s)
Get SpiderMonkey to compile on Cygwin.
1 CC = gcc
2 CXX = g++
3 LD = g++
4 OS_CFLAGS_NO_ANSI = -DXP_UNIX -DSVR4 -DSYSV -D_BSD_SOURCE -DPOSIX_SOURCE -DHAVE_LOCALTIME_R
5 OS_CFLAGS = -ansi $(OS_CFLAGS_NO_ANSI)
6 PROGRAM_CFLAGS = $(OPTIMIZER) $(OS_CFLAGS_NO_ANSI) $(DEFINES) $(INCLUDES) $(XCFLAGS)
7 RANLIB = ranlib
8 MKSHLIB = $(LD) -shared $(XMKSHLIBOPTS)
9
10 all:
11
12 build/js.o: js.cpp
13 @$(MAKE_OBJDIR)
14 $(CXX) -o $@ -c $(PROGRAM_CFLAGS) js.cpp

  ViewVC Help
Powered by ViewVC 1.1.24