From f33854c4c115f3688816f249263b2dd3c557d4f1 Mon Sep 17 00:00:00 2001 From: Eugene Crosser Date: Fri, 15 Mar 2019 16:16:05 +0100 Subject: [PATCH] add makefile dependencies for easier run Signed-off-by: Eugene Crosser --- Makefile | 1 + examples/Makefile | 3 +++ src/Makefile | 4 +++- 3 files changed, 7 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 62786d6..43630ad 100644 --- a/Makefile +++ b/Makefile @@ -1,2 +1,3 @@ all: make -C src all + make -C examples all diff --git a/examples/Makefile b/examples/Makefile index ac20e88..4ae1bc1 100644 --- a/examples/Makefile +++ b/examples/Makefile @@ -1,3 +1,6 @@ CFLAGS = -Wall -I../include LDLIBS = -L../src -lpsmb +all: psmb + +psmb: ../src/libpsmb.a diff --git a/src/Makefile b/src/Makefile index 75e70a1..c115768 100644 --- a/src/Makefile +++ b/src/Makefile @@ -8,4 +8,6 @@ all: $(LIB) $(LIB): $(LIB)($(OBJ)) -psmb_socket.o: psmb_socket.c psmb_priv.h ../include/psmb.h +hash64.o: hash64.h + +psmb_socket.o: psmb_priv.h hash64.h ../include/psmb.h -- 2.39.2