From 97183f5a2720f6fd212bcffb5a6a445d5be94338 Mon Sep 17 00:00:00 2001 From: Thadeu Lima de Souza Cascardo Date: Sat, 1 Nov 2008 22:44:09 -0200 Subject: [PATCH] Added a simple Makefile This Makefile builds the objects without linking them to an executable, since we don't have a main besides the testing stuff. --- Makefile | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 Makefile diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..33f423a --- /dev/null +++ b/Makefile @@ -0,0 +1,12 @@ +OBJECTS = sort_udns.o tcp_connect.o +CC = gcc +CFLAGS = -g -Wall +LIBS = -ludns + +all: $(OBJECTS) + +.c.o: + $(CC) $(CFLAGS) -c $< -o $@ + +clean: + rm -f $(OBJECTS) -- 2.20.1