chiark / gitweb /
Can get addresses from Additional and Authority sections, and return
[adns.git] / src / Makefile
index 59ccf547b39e6534af4e5381a4f0fdcc8cdc5348..7c36a847a87d0fd93776c0141d488dabd077bed9 100644 (file)
 #  along with this program; if not, write to the Free Software Foundation,
 #  Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. 
 
-CC=gcc $(WARNS) $(WERROR) $(OPTIMISE) $(DEBUG)
+CC=gcc $(WARNS) $(WERROR) $(OPTIMISE) $(DEBUG) $(XCFLAGS)
 DEBUG=-g
 OPTIMISE=-O2
 WARNS= -Wall -Wmissing-prototypes -Wwrite-strings -Wstrict-prototypes \
        -Wcast-qual -Wpointer-arith
 WERROR=-Werror
 
-LIBOBJS=       event.o query.o setup.o transmit.o general.o reply.o parse.o types.o
+LIBOBJS=       event.o types.o reply.o query.o setup.o transmit.o parse.o general.o
 ALLOBJS=       $(LIBOBJS) dtest.o
 
 all:           dtest
@@ -31,5 +31,5 @@ dtest:                $(ALLOBJS)
 clean:
                rm -f dtest *.o
 
-dtest.o:       adns.h
 $(LIBOBJS):    adns.h internal.h
+dtest.o:       adns.h