File: Makefile

package info (click to toggle)
notmuch-addrlookup 5-1
  • links: PTS
  • area: main
  • in suites: stretch
  • size: 92 kB
  • ctags: 26
  • sloc: ansic: 271; makefile: 14; python: 5
file content (24 lines) | stat: -rw-r--r-- 439 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#
# Makefile
# Adrian Perez, 2014-01-06 12:23
#

GLIB_CFLAGS := $(shell pkg-config glib-2.0 --cflags)
GLIB_LDLIBS := $(shell pkg-config glib-2.0 --libs)

OPTFLAGS ?= -O2
LDLIBS  += -lnotmuch $(GLIB_LDLIBS)
CFLAGS    = -Wall $(OPTFLAGS) $(GLIB_CFLAGS) -std=c99

all: notmuch-addrlookup

notmuch-addrlookup: notmuch-addrlookup.o

clean:
	$(RM) notmuch-addrlookup notmuch-addrlookup.o

print-cflags:
	@echo "$(CFLAGS)"

.PHONY: print-cflags