File: Makefile

package info (click to toggle)
wavsplit 1.1.0-2
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 168 kB
  • ctags: 90
  • sloc: ansic: 687; makefile: 62; sh: 14
file content (37 lines) | stat: -rwxr-xr-x 561 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37

BIN = /usr/local/bin

title = wavsplit
version = 1.1.0

CC = gcc
CFLAGS = -Wall
LDFLAGS = -lm

all: wavsplit wavren

wavsplit:  wavsplit.c wavsplit.h
	gcc $(CFLAGS) wavsplit.c $(LDFLAGS) -o $@

wavren: wavren.c
	gcc $(CFLAGS) wavren.c -o $@

install:
	cp wavsplit $(BIN)
	cp wavren $(BIN)

tar:
	mkdir ../${title}-${version}
	cp -Ra * ../${title}-${version}
	(cd .. && tar cvf ${title}-${version}.tar ${title}-${version})
	rm -rf ../${title}-${version}

gzip:
	gzip ../${title}-${version}.tar

dist:
	make tar
	make gzip

clean:  
	rm -f ${title} *.bck wavren