Fortraneries/SoundBrotching/c-tools/Makefile

28 lines
585 B
Makefile
Raw Normal View History

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