X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;f=Makefile;fp=Makefile;h=7b647d2575dfa2f4070335261981044ea2d7c02e;hb=c93221ab34e692fc29e4610b4461bde563571671;hp=d84b29001ea9db69afaea2838714df4c8e729859;hpb=4c60873bed6e266b9b55f9fe24394760f4cc095c;p=wdq2wav.git diff --git a/Makefile b/Makefile index d84b290..7b647d2 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,16 @@ -compile: - g++ -O2 -I. wdq2wav.cpp -o wdq2wav +base := wdq2wav + +all: compile + +clean: + rm -f $(base) $(base).o + +compile: wdq2wav + +wdq2wav: wdq2wav.cpp wdq2wav.h + g++ -O2 -I. $(base).cpp -o $(base) install: compile - install -m 0755 -u root -g root wdq2wav $(DESTDIR)/usr/bin - install -m 0644 -u root -g root wdq2wav.1 $(DESTDIR)/usr/share/man/man1 + install -m 0755 -o root -g root wdq2wav $(DESTDIR)/usr/bin + install -m 0644 -o root -g root wdq2wav.1 $(DESTDIR)/usr/share/man/man1