1 2 3 4 5 6 7 8 9 10 11 12 13 14
CC = gcc CPP = foo OBJ= src/http_parser.o src/server_eh.o src/main.o OUT = main CPPFLAGS = LDFLAGS = -lleveldb -lev all: build build: $(OBJ) $(CC) $(CPPFLAGS) $(OBJ) -o $(OUT) $(LDFLAGS) clean: rm -rf $(OUT) $(OBJ)