blob: 31171230eaaf9373c0154a37c1191303f994df88 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
CC = gcc
CPP = foo
OBJ= src/main.o mongoose/mongoose.o
OUT = main
CFLAGS =
CXXFLAGS = -std=c++11 -Imongoose
LDFLAGS = -lleveldb -lboost_regex
all: build
build: $(OBJ)
$(CC) $(CPPFLAGS) $(OBJ) -o $(OUT) $(LDFLAGS)
clean:
rm -rf $(OUT) $(OBJ)
|