Commit a5a46a43 authored by rswindell's avatar rswindell
Browse files

Looks for js32omf.lib in the debug or release directory depending on build

type (instead of always looking in the debug dir).
parent 2c157748
......@@ -42,18 +42,19 @@ CFLAGS = $(CFLAGS) -DWRAPPER_EXPORTS
!ifdef DEBUG
CFLAGS = $(CFLAGS) -v -Od -D_DEBUG
LFLAGS = $(LFLAGS) -v
LIBODIR = $(LIBODIR).debug
EXEODIR = $(EXEODIR).debug
BUILD = debug
!else
CFLAGS = $(CFLAGS)
LIBODIR = $(LIBODIR).release
EXEODIR = $(EXEODIR).release
BUILD = release
!endif
LIBODIR = $(LIBODIR).$(BUILD)
EXEODIR = $(EXEODIR).$(BUILD)
# JavaScript Support
!ifdef JS
CFLAGS = $(CFLAGS) -DJAVASCRIPT -I../../include/mozilla/js
LIBS = ..\..\lib\mozilla\js\win32.debug\js32omf.lib
LIBS = ..\..\lib\mozilla\js\win32.$(BUILD)\js32omf.lib
!endif
default: dlls mono utils
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment