summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index a7982bd..b288dd2 100644
--- a/Makefile
+++ b/Makefile
@@ -1,9 +1,10 @@
CFLAGS = -g -Wall -pthread
LDFLAGS = -lssl
+OBJ = util.o
all: radsecproxy
-radsecproxy: util.o
-
+radsecproxy: $(OBJ)
+ $(CC) $(CFLAGS) $(OBJ) $(LDFLAGS) -o radsecproxy radsecproxy.c
clean:
- rm -f util.o radsecproxy
+ rm -f $(OBJ) radsecproxy