summaryrefslogtreecommitdiff
path: root/c_src/Makefile
blob: ae9c73e694fd35aa80f46df4e6b9f3100a611e72 (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