# http://neil.franklin.ch/Projects/VirtexTools/Makefile # author Neil Franklin, last modification 2002.09.22 # base path of where to install into PREFIX = /usr/local all: vd vd: vd.c @echo making vd by compiling vd.c ... @cc -o vd vd.c # @cc -o vd vd.c /usr/local/lib/libefence.a install: @echo installing vd and vd.1 ... @cp -p vd $(PREFIX)/bin @cp -p vd.1 $(PREFIX)/man/man1 tar: @# package this project into an .tar.gz for one nice download @echo packaging source and doc files into an .tar.gz ... @tar zcf VirtexTools.tar.gz -C .. \ VirtexTools/FAQ VirtexTools/Logfile VirtexTools/INSTALL \ VirtexTools/Makefile VirtexTools/RCS VirtexTools/README \ VirtexTools/comp VirtexTools/index.html.de \ VirtexTools/index.html.en VirtexTools/vd.1 VirtexTools/vd.c ci: @# using this fails as revision numbers are not kept in sync @# left in here to cat Makefile and then do by hand @echo checking source files into RCS archive ... @ci -l -r0.16 FAQ INSTALL Makefile README comp index.html.en vd.1 vd.c