mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-30 05:35:31 +00:00
17 lines
349 B
Makefile
17 lines
349 B
Makefile
|
|
BOEHM_DIR = $(top_srcdir)/../gc/boehm/
|
|
LIBBOEHM = $(BOEHM_DIR)/gc.a
|
|
|
|
JS2_DIR = $(top_srcdir)/src/
|
|
LIBJS2 = $(JS2_DIR)/libjs2.a
|
|
|
|
WFLAGS = -Wmissing-prototypes -Wstrict-prototypes -Wunused \
|
|
-Wswitch
|
|
|
|
|
|
if DEBUG
|
|
CXXFLAGS = -DXP_UNIX -g -DDEBUG -DNEW_PARSER $(WFLAGS)
|
|
else
|
|
CXXFLAGS = -DXP_UNIX -O2 -DNEW_PARSER -Wuninitialized $(WFLAGS)
|
|
endif
|