summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2012-04-23 09:20:41 +0200
committerJérémy Zurcher <jeremy@asynk.ch>2012-04-23 09:20:41 +0200
commita1241d28db52363c89ae6400807d0142334e765b (patch)
tree312b08c076e4b8d9845daf566d3552bf4d2d1880
parentc8e52cf46a6f64dbbccbce2b705ab6bbed8905ae (diff)
downloadskeletons-a1241d28db52363c89ae6400807d0142334e765b.zip
skeletons-a1241d28db52363c89ae6400807d0142334e765b.tar.gz
makefile-so: add missing clib.h dependencies
-rw-r--r--makefile-so/Makefile4
1 files 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