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