Fortraneries/BloubWorld/Makefile

34 lines
799 B
Makefile
Raw Normal View History

2022-02-07 09:45:08 +11:00
all: genbloubs movebloubs exportbloubs
GFOPT = -Wall -Wextra -g -time
OBJS = bloubspace.o povstuff.o
# ------------------------------------------------------------
initial.blbs: genbloubs Makefile
./genbloubs $@ 1000
# ------------------------------------------------------------
bloubspace.o: bloubspace.f90 Makefile
gfortran $(GFOPT) -c $<
povstuff.o: povstuff.f90 Makefile
gfortran $(GFOPT) -c $<
# ------------------------------------------------------------
genbloubs: genbloubs.f90 Makefile $(OBJS)
gfortran $(GFOPT) $(OBJS) $< -o $@
movebloubs: movebloubs.f90 Makefile bloubspace.o
gfortran $(GFOPT) $(OBJS) $< -o $@
exportbloubs: exportbloubs.f90 Makefile bloubspace.o
gfortran $(GFOPT) $(OBJS) $< -o $@
# ------------------------------------------------------------