2022-03-08 21:33:01 +11:00
|
|
|
#
|
|
|
|
# tth@konrad:~/Devel/Fortraneries/SoundBrotching/c-tools$
|
|
|
|
#
|
|
|
|
|
2024-02-07 03:05:02 +11:00
|
|
|
COPT = -std=c11 -Wall -Wextra -g -DDEBUG_LEVEL=1
|
2022-03-08 21:33:01 +11:00
|
|
|
|
|
|
|
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 --------
|