File: Makefile

package info (click to toggle)
libsimpleini 4.25%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 724 kB
  • sloc: cpp: 4,599; makefile: 75; sh: 3
file content (22 lines) | stat: -rw-r--r-- 581 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
PKG_CONFIG?=pkg-config

CXXFLAGS+=-Wall -std=c++17 -DSI_CONVERT_ICU -DSI_SUPPORT_IOSTREAMS
LDFLAGS+=-lpthread -lgtest -lgtest_main -lpthread -lsimpleini $(shell $(PKG_CONFIG) --libs icu-io) -L.. -Wl,-rpath-link=$(pwd)

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

BIN=./tests

all: test

$(BIN): $(OBJS)
	$(CXX) -o $(BIN) $(OBJS) $(LDFLAGS)

clean:
	rm -f core $(OBJS) $(BIN)

test: $(BIN)
	$(BIN)

$(OBJS): ../SimpleIni.h