# Lines starting with the pound sign are comments. # # "all" is the default target. Simply make it point to # myprogram. LIB=/home/kees/grib/ AFSLIB=/home/kees/develop/Fortran/lib/ VECTFFLAGS = -i4 -r4 -Dlinux CCLAGS = -i4 -r4 -Dlinux all: byteswap.x # Define the components of the program, and how to # link them together. # These components are defined as dependencies; that is, # they must be made up-to-date before the . byteswap.x: byteswap.o gcc -o byteswap.x byteswap.o # Define the dependencies and compile information for the three fortran source # code files. byteswap.o: byteswap.c gcc -c -o byteswap.o byteswap.c