Fortraneries/BloubWorld/Makefile

56 lines
1.3 KiB
Makefile
Raw Normal View History

2022-02-07 09:45:08 +11:00
2022-02-17 01:59:42 +11:00
all: genbloubs movebloubs exportbloubs mergebloubs
2022-02-07 09:45:08 +11:00
2022-02-17 20:51:56 +11:00
# ------------------------------------------------------------
2022-02-07 09:45:08 +11:00
GFOPT = -Wall -Wextra -g -time
2022-02-08 23:25:04 +11:00
OBJS = bloubspace.o povstuff.o mathstuff.o
2022-02-08 12:53:49 +11:00
2022-02-07 09:45:08 +11:00
# ------------------------------------------------------------
2022-02-17 20:51:56 +11:00
essai: essai.f90 Makefile mathstuff.o
gfortran $(GFOPT) $< mathstuff.o -o $@
# ------------------------------------------------------------
2022-02-07 09:45:08 +11:00
initial.blbs: genbloubs Makefile
./genbloubs $@ 1000
2022-02-17 01:59:42 +11:00
in.blbs: genbloubs Makefile
2022-02-17 20:51:56 +11:00
./genbloubs $@ 30000
2022-02-17 01:59:42 +11:00
out.blbs: in.blbs mergebloubs Makefile
./mergebloubs $< $@
2022-02-17 20:51:56 +11:00
out.lst: out.blbs exportbloubs Makefile
./exportbloubs $< > $@
2022-02-07 09:45:08 +11:00
# ------------------------------------------------------------
bloubspace.o: bloubspace.f90 Makefile
2022-02-17 20:51:56 +11:00
gfortran $(GFOPT) -pg -c $<
2022-02-07 09:45:08 +11:00
povstuff.o: povstuff.f90 Makefile
gfortran $(GFOPT) -c $<
2022-02-08 23:25:04 +11:00
mathstuff.o: mathstuff.f90 Makefile
gfortran $(GFOPT) -c $<
2022-02-07 09:45:08 +11:00
# ------------------------------------------------------------
genbloubs: genbloubs.f90 Makefile $(OBJS)
2022-02-08 23:25:04 +11:00
gfortran $(GFOPT) $< $(OBJS) -o $@
2022-02-07 09:45:08 +11:00
2022-02-08 12:53:49 +11:00
movebloubs: movebloubs.f90 Makefile $(OBJS)
2022-02-08 23:25:04 +11:00
gfortran $(GFOPT) $< $(OBJS) -o $@
2022-02-07 09:45:08 +11:00
2022-02-08 12:53:49 +11:00
exportbloubs: exportbloubs.f90 Makefile $(OBJS)
2022-02-08 23:25:04 +11:00
gfortran $(GFOPT) $< $(OBJS) -o $@
2022-02-07 09:45:08 +11:00
2022-02-17 01:59:42 +11:00
mergebloubs: mergebloubs.f90 Makefile $(OBJS)
2022-02-17 20:51:56 +11:00
gfortran $(GFOPT) $< $(OBJS) -o $@
2022-02-17 01:59:42 +11:00
2022-02-07 09:45:08 +11:00
# ------------------------------------------------------------