Makefile fixes (bug #923)

git-svn-id: https://origsvn.digium.com/svn/libpri/trunk@73 2fbb986a-6c06-0410-b554-c9c1f0a7f128
This commit is contained in:
Mark Spencer 2004-01-27 00:39:59 +00:00
parent e1394704ad
commit acf0e055ab

View File

@ -34,6 +34,10 @@ INSTALL_PREFIX=
all: $(STATIC_LIBRARY) $(DYNAMIC_LIBRARY) all: $(STATIC_LIBRARY) $(DYNAMIC_LIBRARY)
update:
@echo "Updating from CVS"
@cvs update -d
install: $(STATIC_LIBRARY) $(DYNAMIC_LIBRARY) install: $(STATIC_LIBRARY) $(DYNAMIC_LIBRARY)
mkdir -p $(INSTALL_PREFIX)/usr/lib mkdir -p $(INSTALL_PREFIX)/usr/lib
mkdir -p $(INSTALL_PREFIX)/usr/include mkdir -p $(INSTALL_PREFIX)/usr/include
@ -62,6 +66,6 @@ $(DYNAMIC_LIBRARY): $(DYNAMIC_OBJS)
ln -sf libpri.so.1 libpri.so ln -sf libpri.so.1 libpri.so
clean: clean:
rm -f *.o *.so *.lo rm -f *.o *.so *.lo *.so.1 *.so.1.0
rm -f testpri $(STATIC_LIBRARY) $(DYNAMIC_LIBRARY) rm -f testpri $(STATIC_LIBRARY) $(DYNAMIC_LIBRARY)
rm -f pritest pridump rm -f pritest pridump