~jb55/viscal

ref: 0df3b1ef5a4872fea719bb0e9d06dfceb3b2a18e viscal/Makefile -rw-r--r-- 427 bytes
0df3b1efWilliam Casarin direnv 1 year, 9 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
BIN ?= viscal

all: $(BIN)

DEPS=libical gtk+-3.0

CFLAGS=-Wall \
       -Wextra \
       -O2 \
       -Wno-unused-parameter \
       -Werror=int-conversion \
			 -std=c99 \
			 -ggdb \
			 -lm \
       `pkg-config --cflags --libs $(DEPS)`

tags: TAGS

$(BIN): viscal.c Makefile
	$(CC) $(CFLAGS) -o $@ $<

TAGS:
	./scripts/mktags libical > $@

check: $(BIN)
	echo "write tests!"

clean:
	rm -f $(BIN)

.PHONY: TAGS clean tags