Fortraneries/SoundBrotching/c-tools/Makefile
2024-02-06 17:05:02 +01:00

28 lines
585 B
Makefile

#
# tth@konrad:~/Devel/Fortraneries/SoundBrotching/c-tools$
#
COPT = -std=c11 -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 --------