summaryrefslogtreecommitdiff
path: root/datastore-leveldb/Makefile
blob: 33f61bda20f73fa9ab419a223302020e441f4e7c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
CC = gcc
CPP = foo
OBJ= src/http_parser.o src/server_eh.o src/main.o mongoose/mongoose.o
OUT = main
CFLAGS =
CXXFLAGS = -std=c++11 -Imongoose
LDFLAGS = -lleveldb -lev -lboost_regex -lmagic

all: build

build: $(OBJ)
	$(CC) $(CPPFLAGS) $(OBJ) -o $(OUT) $(LDFLAGS)

clean:
	rm -rf $(OUT) $(OBJ)