commit 2dcdfadb37c6453c6fdbca0bea6e0848bce2a1c8 parent 006c1a83ce2a58bbf9bd2cb05e79204d88950edd Author: Morel BĂ©renger <berengermorel76@gmail.com> Date: Fri, 14 Aug 2020 05:07:29 +0200 remove old Makefile Diffstat:
D | lmerge/Makefile | | | 33 | --------------------------------- |
1 file changed, 0 insertions(+), 33 deletions(-)
diff --git a/lmerge/Makefile b/lmerge/Makefile @@ -1,33 +0,0 @@ -CC ?= cc -CXX ?= c++ -PREFIX ?= "/usr/local" - -all: manpages lmerge.1 lmerge - -%.1: doc/%.1.md - pandoc -s --to=man $< -o $@ - -lmerge.o: src/lmerge.cpp - $(CXX) -I ../btl/src -DFILE_PTR='FILE*' $(CXXFLAGS) -c $< -o $@ - -%.o: ../btl/src/%.cpp - $(CXX) $(CXXFLAGS) -DFILE_PTR='FILE*' -c $< -o $@ - -lmerge: lmerge.o optparser.o utils.o - $(CXX) -o $@ $^ - -manpages: lmerge.1 - -clean: - rm -f lmerge lmerge.1 *.o - -install: all - mkdir -p ${DESTDIR}${PREFIX}/bin/ ${DESTDIR}${PREFIX}/share/man/man1/ - install -m 755 lmerge ${DESTDIR}${PREFIX}/bin/ - install -m 644 lmerge.1 ${DESTDIR}${PREFIX}/share/man/man1/ - -uninstall: - rm ${DESTDIR}${PREFIX}/bin/lmerge - rm ${DESTDIR}${PREFIX}/share/man/man1/lmerge.1 - -.PHONY: all clean install uninstall