File: Makefile

package info (click to toggle)
libsimpleini 4.22%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 680 kB
  • sloc: cpp: 3,197; makefile: 75; sh: 3
file content (22 lines) | stat: -rw-r--r-- 452 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 -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-roundtrip.o ts-snippets.o ts-utf8.o ts-bugfix.o ts-quotes.o ts-noconvert.o

BIN=./tests

all: test

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

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

test: $(BIN)
	$(BIN)

$(OBJS): ../SimpleIni.h