CC = gcc CPP = foo OBJ= src/http_parser.o src/server_eh.o src/main.o OUT = main CPPFLAGS = -std=c++11 LDFLAGS = -lleveldb -lev -lboost_regex -lmagic all: build build: $(OBJ) $(CC) $(CPPFLAGS) $(OBJ) -o $(OUT) $(LDFLAGS) clean: rm -rf $(OUT) $(OBJ)