Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/vhook
diff options
context:
space:
mode:
Diffstat (limited to 'vhook')
-rw-r--r--vhook/Makefile11
1 files changed, 9 insertions, 2 deletions
diff --git a/vhook/Makefile b/vhook/Makefile
index 898dbb4b6b..5e9023a6ef 100644
--- a/vhook/Makefile
+++ b/vhook/Makefile
@@ -15,18 +15,25 @@ endif
all: $(HOOKS)
+DEPS= $(HOOKS:.so=.d)
+
install:
install -s -m 755 $(HOOKS) $(INSTDIR)
imlib2.so: imlib2.o
$(CC) -g -o $@ $(SHFLAGS) $< -lImlib2
- rm $<
%.so: %.o
$(CC) -g -o $@ $(SHFLAGS) $<
+%.d: %.c
+ @echo $@ \\ > $@
+ $(CC) $(CFLAGS) -MM $< >> $@
+
+-include $(DEPS)
+
%.html: %.texi
texi2html -monolithic -number $<
clean:
- rm -f *.o *.so *~
+ rm -f *.o *.d *.so *~