You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
356 B
21 lines
356 B
CXX?=g++
|
|
CXXFLAGS+=-Wall -std=c++14 `pkg-config --cflags gtest_main`
|
|
LDFLAGS+=`pkg-config --libs gtest_main`
|
|
|
|
OBJS=ts-roundtrip.o ts-snippets.o ts-utf8.o ts-bugfix.o ts-quotes.o ts-noconvert.o
|
|
|
|
BIN=./tests
|
|
|
|
all: $(BIN)
|
|
|
|
$(BIN): $(OBJS)
|
|
$(CXX) -o $(BIN) $(OBJS) $(LDFLAGS)
|
|
|
|
clean:
|
|
rm -f core $(OBJS) $(BIN)
|
|
|
|
test: $(BIN)
|
|
$(BIN)
|
|
|
|
$(OBJS): ../SimpleIni.h
|
|
|