Commit cffcffec authored by Patrick Chen's avatar Patrick Chen

init repo

parents
CXX=g++
CXX_FLAGS=-g -std=c++14 \
-I/usr/local/include \
-I./include
LD_FLAGS=-L/usr/local/lib \
-lexchange_server
BUILD_DIR=$(shell pwd)/build
XSTEST_SRCS=src/xs-test.cpp
XSTEST_OBJS=$(addprefix $(BUILD_DIR)/,$(XSTEST_SRCS:.cpp=.o))
all: $(BUILD_DIR)/xs-test
$(BUILD_DIR)/xs-test: $(XSTEST_OBJS)
$(CXX) -o $@ $(LD_FLAGS) $(XSTEST_OBJS)
$(BUILD_DIR)/%.o: %.cpp
mkdir -p $(dir $@)
$(CXX) -o $@ -c $(CXX_FLAGS) $<
clean:
rm -rf $(BUILD_DIR)/xs-test
rm -rf $(XSTEST_OBJS)
#include <iostream>
#include "Config.hpp"
int main() {
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment