Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
17 lines (12 sloc) 278 Bytes
EXTERNALS=../../externals/
LIBFBJS=$(EXTERNALS)libfbjs/
CPPFLAGS=-fPIC -Wall -DNOT_FBMAKE=1
ifdef OPT
CPPFLAGS += -O2
else
CPPFLAGS += -ggdb -g -O0 -DDEBUG
endif
jsast: jsast.cpp
$(CXX) $(CPPFLAGS) -o $@ -Wall -I$(EXTERNALS) $^ $(LIBFBJS)libfbjs.a
clean:
rm -rf jsast