projects
/
wdq2wav.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
r3820: *** empty log message ***
[wdq2wav.git]
/
Makefile
diff --git
a/Makefile
b/Makefile
index d84b29001ea9db69afaea2838714df4c8e729859..7b647d2575dfa2f4070335261981044ea2d7c02e 100644
(file)
--- 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: 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