refactoring in progress
This commit is contained in:
@@ -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 $@
|
||||
|
||||
# ----------------------------------------------------------
|
||||
|
||||
|
||||
Reference in New Issue
Block a user