aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorIOhannes m zmölnig <zmoelnig@users.sourceforge.net>2013-04-11 13:24:56 +0000
committerIOhannes m zmölnig <zmoelnig@users.sourceforge.net>2013-04-11 13:24:56 +0000
commita911c2d49d12e1075fdd4c97a45c6fa2fcfdca8c (patch)
treeece921d7ba0e8c985c32ca7fde061c85e8eb299d /Makefile
parent394d1b0b282727d994a1ab03fc209d7ada870147 (diff)
b-d on SHARED_HEADERS
we want to rebuild if any of the headers have changed svn path=/trunk/externals/iem/iemnet/; revision=17087
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index b93e8d4..4cb3b26 100644
--- a/Makefile
+++ b/Makefile
@@ -247,7 +247,7 @@ SHARED_LIB ?= lib$(LIBRARY_NAME:=.$(SHARED_EXTENSION))
all: $(SOURCES:.c=.$(EXTENSION)) $(SHARED_LIB)
-%.o: %.c
+%.o: %.c $(SHARED_HEADERS)
$(CC) $(ALL_CFLAGS) -o "$*.o" -c "$*.c"
%.$(EXTENSION): %.o $(SHARED_LIB)