Accept environment CFLAGS and LDFLAGS
[citadel.git] / webcit-ng / Makefile
1 CFLAGS := $(CFLAGS) -ggdb -Wno-format-truncation
2 LDFLAGS := $(LDFLAGS)
3
4 # link
5 webcit: server/*.c
6         gcc $(CFLAGS) server/*.c $(LDFLAGS) -lcitadel -lpthread -lcrypto -lssl -lexpat -o webcit
7
8 # remove compilation products
9 clean:
10         rm -f webcit
11
12 distclean: clean
13
14 # install to target directory
15 install:
16         echo Not yet...