From a1241d28db52363c89ae6400807d0142334e765b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Zurcher?= Date: Mon, 23 Apr 2012 09:20:41 +0200 Subject: makefile-so: add missing clib.h dependencies --- makefile-so/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/makefile-so/Makefile b/makefile-so/Makefile index 9a2de9d..5bb41a0 100644 --- a/makefile-so/Makefile +++ b/makefile-so/Makefile @@ -14,7 +14,7 @@ LD_OPTS= default: all -clib.o: clib.c +clib.o: clib.h clib.c $(CC) $(CCFLAGS) -c -fPIC $< libclib.so: clib.o @@ -23,7 +23,7 @@ libclib.so: clib.o ldlinks: @ldconfig -n . -main: libclib.so ldlinks main.o +main: libclib.so ldlinks clib.h main.o $(CC) $(LD_OPTS) main.o -L. -lclib -o main all: main -- cgit v1.1-2-g2b99