28 lines
576 B
Makefile
28 lines
576 B
Makefile
|
#
|
||
|
# tth@konrad:~/Devel/Fortraneries/SoundBrotching/c-tools$
|
||
|
#
|
||
|
|
||
|
COPT = -Wall -Wextra -g -DDEBUG_LEVEL=1
|
||
|
|
||
|
all: text2wav wav2text text2ao
|
||
|
|
||
|
# ----------------------------------------------------------
|
||
|
#
|
||
|
# C tools
|
||
|
#
|
||
|
CLIBS = -lsndfile support.o
|
||
|
|
||
|
support.o: support.c Makefile support.h
|
||
|
gcc $(COPT) -c $<
|
||
|
|
||
|
text2wav: text2wav.c Makefile support.h support.o
|
||
|
gcc $(COPT) $< $(CLIBS) -o $@
|
||
|
|
||
|
wav2text: wav2text.c Makefile support.h support.o
|
||
|
gcc $(COPT) $< $(CLIBS) -o $@
|
||
|
|
||
|
text2ao: text2ao.c Makefile support.h support.o
|
||
|
gcc $(COPT) $< $(CLIBS) -lao -o $@
|
||
|
|
||
|
# ------ eomf --------
|