Hunt the Wumpus: Difference between revisions

m
Line 1,404:
=={{header|FORTRAN}}==
This code names rooms by alphabetic character, thereby making use of index function and simplifying the input to single characters. Compiled with gfortran, source compatible with FORTRAN 2008.
 
Here's a gnu Makefile
==code==
# gnu make
 
COMMON := -Wall -g -fPIC -fopenmp
override FFLAGS += ${COMMON} -ffree-form -fall-intrinsics -fimplicit-none
 
%: %.F08
gfortran -std=f2008 $(FFLAGS) $< -o $@
 
%.o: %.F08
gfortran -std=f2008 -c $(FFLAGS) $< -o $@
 
%: %.f08
gfortran -std=f2008 $(FFLAGS) $< -o $@
 
%.o: %.f08
gfortran -std=f2008 -c $(FFLAGS) $< -o $@
 
=={{header|FreeBASIC}}==
Anonymous user