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