From 89a69fc2f8e894d85a520cdab8dac27ef477e64c Mon Sep 17 00:00:00 2001 From: Matthew Mondor Date: Sun, 7 Jan 2007 09:38:13 +0000 Subject: [PATCH] *** empty log message *** --- mmsoftware/paradise_adventure/GNUmakefile | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/mmsoftware/paradise_adventure/GNUmakefile b/mmsoftware/paradise_adventure/GNUmakefile index 5cc6c46..de1b3f9 100644 --- a/mmsoftware/paradise_adventure/GNUmakefile +++ b/mmsoftware/paradise_adventure/GNUmakefile @@ -1,4 +1,4 @@ -# $Id: GNUmakefile,v 1.2 2007/01/07 09:26:43 mmondor Exp $ +# $Id: GNUmakefile,v 1.3 2007/01/07 09:38:13 mmondor Exp $ CC := cc RM := rm @@ -26,6 +26,9 @@ SDL_CFLAGS := $(shell sdl-config --cflags) SDL_LDFLAGS := $(shell sdl-config --libs) SDL_LDFLAGS += -lSDL_image -lSDL_mixer -lSDL_ttf +JS_CFLAGS := $(shell spidermonkey-config -c) +JS_LDFLAGS := $(shell spidermonkey-config -l) + # OS dependent settings follow OS := $(shell $(UNAME) -s) ifneq (,$(findstring CYGWIN,$(OS))) @@ -38,8 +41,8 @@ else LDFLAGS += -L/usr/lib -L/usr/pkg/lib -L/usr/X11R6/lib endif -CFLAGS += $(SDL_CFLAGS) -LDFLAGS += $(SDL_LDFLAGS) +CFLAGS += $(SDL_CFLAGS) $(JS_CFLAGS) +LDFLAGS += $(SDL_LDFLAGS) $(JS_LDFLAGS) all: $(BIN) -- 2.9.0