X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;f=Makefile;h=088db623d407166e1c1353fb08083530ccae0571;hb=c33a77f47b086ae9e20e52f2c74a1c081790b862;hp=d84b29001ea9db69afaea2838714df4c8e729859;hpb=da521135a17f9f0403de7337599482a6f08c44a9;p=wdq2wav.git diff --git a/Makefile b/Makefile index d84b290..088db62 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,19 @@ -compile: - g++ -O2 -I. wdq2wav.cpp -o wdq2wav +base := wdq2wav + +all: compile-linux + +clean: + rm -f $(base) $(base).o + +compile: wdq2wav + +debug: + g++ -g -I. $(base).cpp -o $(base) + +wdq2wav: wdq2wav.cpp wdq2wav.h + g++ -DLINUX -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