Don't delete vvp/libvvp.h when running 'make clean'.

This commit is contained in:
Martin Whitaker 2025-10-25 13:22:22 +01:00
parent cc496c3cf3
commit da853622e9
1 changed files with 9 additions and 9 deletions

View File

@ -62,6 +62,14 @@ CXXFLAGS = @WARNING_FLAGS@ @WARNING_FLAGS_CXX@ @CXXFLAGS@
LDFLAGS = @rdynamic@ @LDFLAGS@
LIBS = @LIBS@ @EXTRALIBS@
ifeq (@WIN32@,yes)
SLDIR=$(bindir)
SLEXT=dll
else
SLDIR=$(libdir)
SLEXT=so
endif
dllib=@DLLIB@
MDIR1 = -DMODULE_DIR1='"$(libdir)/ivl$(suffix)"'
@ -101,7 +109,7 @@ else
endif
clean:
rm -f *.o *~ parse.cc parse.h lexor.cc tables.cc libvvp$(suffix).*
rm -f *.o *~ parse.cc parse.h lexor.cc tables.cc libvvp$(suffix).$(SLEXT)
rm -rf dep vvp@EXEEXT@ parse.output vvp.man vvp.ps vvp.pdf vvp.exp
distclean: clean
@ -130,14 +138,6 @@ ifeq (@LIBVVP@,yes)
CPPFLAGS+= -fpic
ifeq (@WIN32@,yes)
SLDIR=$(bindir)
SLEXT=dll
else
SLDIR=$(libdir)
SLEXT=so
endif
# To avoid setting LD_LIBRARY_PATH when running vvp from the build tree,
# add option -Wl,-rpath=`pwd` to the CXX command below.