Add Debian source format file
[wdq2wav.git] / Makefile
index 7b647d2575dfa2f4070335261981044ea2d7c02e..da57f04680be1387ae7cc9afdab4b1cc20e0a07f 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -3,12 +3,18 @@ base  := wdq2wav
 all: compile
 
 clean:
-       rm -f $(base) $(base).o
+       @rm -f $(base) $(base).o $(base).exe *.~[0-9]~
 
 compile: wdq2wav
 
+debug:
+       g++ -Wall -g -I. $(base).cpp -o $(base)
+
+wdq2wav.html: wdq2wav.1
+       groff -man -Thtml wdq2wav.1 > wdq2wav.html
+
 wdq2wav: wdq2wav.cpp wdq2wav.h
-       g++ -O2 -I. $(base).cpp -o $(base)
+       g++ -Wall -DLINUX -O2 -I. $(base).cpp -o $(base)
 
 install: compile
        install -m 0755 -o root -g root wdq2wav $(DESTDIR)/usr/bin