Debian Codegraph @

tests/Makefile

raw ◀ ▶
1 Debian patch touch this file
•1 PKG_CONFIG?=pkg-config
2
3 CXXFLAGS+=-Wall -std=c++17 -DSI_CONVERT_ICU -DSI_SUPPORT_IOSTREAMS
4 LDFLAGS+=-lpthread -lgtest -lgtest_main -lpthread -lsimpleini $(shell $(PKG_CONFIG) --libs icu-io) -L.. -Wl,-rpath-link=$(pwd)
5
6 OBJS=ts-bugfix.o ts-noconvert.o ts-quotes.o ts-roundtrip.o ts-snippets.o ts-utf8.o ts-numeric.o ts-boolean.o ts-sections.o ts-deletion.o ts-edgecases.o ts-multiline.o ts-casesensitivity.o ts-generic.o
7
8 BIN=./tests
9
10 all: test
11
12 $(BIN): $(OBJS)
13 $(CXX) -o $(BIN) $(OBJS) $(LDFLAGS)
14
15 clean:
16 rm -f core $(OBJS) $(BIN)
17
18 test: $(BIN)
19 $(BIN)
20
21 $(OBJS): ../SimpleIni.h
22