CC = gcc
CXX = g++
LD = g++
OS_CFLAGS_NO_ANSI = -DXP_UNIX -DSVR4 -DSYSV -D_BSD_SOURCE -DPOSIX_SOURCE -DHAVE_LOCALTIME_R
OS_CFLAGS = -ansi $(OS_CFLAGS_NO_ANSI)
PROGRAM_CFLAGS = $(OPTIMIZER) $(OS_CFLAGS_NO_ANSI) $(DEFINES) $(INCLUDES) $(XCFLAGS)
RANLIB = ranlib
MKSHLIB = $(LD) -shared $(XMKSHLIBOPTS)

all:

obj/js.o: js.cpp
	@$(MAKE_OBJDIR)
	$(CXX) -o $@ -c $(PROGRAM_CFLAGS) js.cpp
