summaryrefslogtreecommitdiff
path: root/c_src/Makefile
blob: c5fbad3e3d9a3030c215abe02a150b29c7e5d678 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
CC = gcc
CFLAGS = -Wall -Werror -std=gnu99
#CFLAGS = -Wall -Werror -std=gnu99 -DTEST
LDFLAGS =

PORTS = dnssecport

common_OBJS = erlport.o net_read_write.o
dnssecport_OBJS = dnssec.o dnssec_test.o $(common_OBJS)

all: $(PORTS)

clean:
	rm -f $(common_OBJS) $(dnssecport_OBJS) $(PORTS)

dnssecport: $(dnssecport_OBJS)
	$(CC) -o $@ $^ $(LDFLAGS) -ldl -lgetdns