refactoring in progress

This commit is contained in:
tth
2022-03-10 10:44:45 +01:00
parent 082fb8e671
commit 92f6e5cf23
3 changed files with 26 additions and 26 deletions

View File

@@ -2,28 +2,9 @@
# tth@konrad:~/Devel/Fortraneries/SoundBrotching$
#
COPT = -Wall -Wextra -g -DDEBUG_LEVEL=1
GOPT = -Wall -Wextra -g
all: text2wav wav2text text2ao \
panoramix genwaves
# ----------------------------------------------------------
#
# 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) -o $@
all: panoramix genwaves
# ----------------------------------------------------------
#
@@ -31,14 +12,16 @@ text2ao: text2ao.c Makefile support.h support.o
#
FLIBS = soundbrotch.o
# support functions
soundbrotch.o: soundbrotch.f90 Makefile
gfortran $(COPT) -c $<
gfortran $(GOPT) -c $<
# main proggies
panoramix: panoramix.f90 Makefile $(FLIBS)
gfortran $(COPT) $< $(FLIBS) -o $@
gfortran $(GOPT) $< $(FLIBS) -o $@
genwaves: genwaves.f90 Makefile $(FLIBS)
gfortran $(COPT) $< $(FLIBS) -o $@
gfortran $(GOPT) $< $(FLIBS) -o $@
# ----------------------------------------------------------