* Makefile: removed hardcoded -pg compile option and the uninstall

    target doesn't remove .cfg files.
  * Makefile.opts.in: -pg option in debug mode.
parent 50d868e0
......@@ -2,7 +2,7 @@
# vls (VideoLAN Server) main Makefile
#-------------------------------------------------------------------------------
# (c)1999-2001 VideoLAN
# $Id: Makefile,v 1.90 2002/04/02 17:26:39 bozo Exp $
# $Id: Makefile,v 1.91 2002/04/04 00:46:44 bozo Exp $
################################################################################
......@@ -164,7 +164,6 @@ endif
uninstall:
rm -f $(DESTDIR)$(bindir)/vls
rm -f $(DESTDIR)$(libdir)/videolan/vls/*.so
rm -f $(DESTDIR)$(sysconfdir)/videolan/vls/*.cfg
# Build lexer.cpp with flex
lexer:
......@@ -175,7 +174,7 @@ dep: Makefile.opts $(DEP)
vls: Makefile.opts $(OBJ) $(BUILTINS)
@echo "Linking $@..."
@test -d bin || mkdir -p bin
$(CXX) $(LCFLAGS) -o bin/$@ $(OBJ) $(BUILTINS:%=obj/%.a) $(VLS_LIB) -pg
$(CXX) $(LCFLAGS) -o bin/$@ $(OBJ) $(BUILTINS:%=obj/%.a) $(VLS_LIB)
chmod 755 bin/$@
dep/server/vls.d: src/server/vls_builtins.cpp
......
......@@ -104,6 +104,7 @@ CCFLAGS+=-DBUGGY_VLC
ifeq ($(DEBUG), 1)
CCFLAGS+=-DDEBUG
CCFLAGS+=-g
CCFLAGS+=-pg
#LIB+=-ldmalloc
#LIB+=-lefence
#LC:=purify -log-File=purify.log $(LC)
......
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