From e76468266a677537f1dbbe76e81aa87be60c67e3 Mon Sep 17 00:00:00 2001
From: Joel Grunbaum <joelgrun@gmail.com>
Date: Tue, 31 May 2022 09:40:08 +0000
Subject: [PATCH] Initial support for reachability

---
 Makefile |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/Makefile b/Makefile
index c7ec091..70760f3 100644
--- a/Makefile
+++ b/Makefile
@@ -1,5 +1,5 @@
 CC=gcc
-_OBJ=main.o dns.o slist.o
+_OBJ=dns.o slist.o
 _DEPS=dns.h servers.h slist.h
 CFLAGS=-Wall -lpthread
 
@@ -14,7 +14,10 @@
 %.o: %c $(DEPS)
 	$(CC) -c -o $@ $< $(CFLAGS)
 
-dnscomp: $(_OBJ)
+dnscomp: $(_OBJ) main.o
+	$(CC) -o $@ $^ $(CFLAGS)
+
+test: $(_OBJ) test.o
 	$(CC) -o $@ $^ $(CFLAGS)
 
 .PHONY: clean

--
Gitblit v1.10.0