Commit b57cb505 authored by mru's avatar mru

add "checkheaders" target


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@9346 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 81be5ada
......@@ -42,12 +42,18 @@ $(SLIBNAME_WITH_MAJOR): $(SHARED_OBJS)
%: %.o $(LIB)
$(CC) $(LDFLAGS) -o $@ $^ $(EXTRALIBS)
%.ho: %.h
$(CC) $(CFLAGS) $(LIBOBJFLAGS) -Wno-unused -c -o $@ -x c $<
ALLHEADERS = $(subst $(VPATH)/,,$(wildcard $(VPATH)/*.h))
checkheaders: $(filter-out %_template.ho,$(ALLHEADERS:.h=.ho))
depend dep: $(SRCS)
$(CC) -MM $(CFLAGS) $^ 1>.depend
clean::
rm -f *.o *~ *.a *.lib *.so *.so.* *.dylib *.dll \
*.def *.dll.a *.exp
*.def *.dll.a *.exp *.ho
distclean: clean
rm -f .depend
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment