Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Branch: master
Fetching contributors…

Cannot retrieve contributors at this time

26 lines (17 sloc) 0.433 kB
NEKOPATH = /usr/lib/neko/include/
CC = c++
CFLAGS = -Wall -shared -I$(NEKOPATH) -fPIC
LDFLAGS = -lmongoclient -lboost_thread-mt -lboost_filesystem -lboost_program_options -lneko
OUT = nmongo.ndll
OBJ = src/nmongo.o src/bson.o
all: $(OBJ)
$(CC) $(CFLAGS) -o $(OUT) $(OBJ) $(LDFLAGS)
src/%.o: src/%.cpp
$(CC) $(CFLAGS) -c -o $@ $<
.PHONY: clean haxe test
clean:
rm -f src/*.o
haxe:
haxe build.hxml
test: haxe
neko test.n
Jump to Line
Something went wrong with that request. Please try again.