# Makefile for modern grids CC = gcc CFLAGS = -O2 SRC = ../../src BIN = ../../bin TBASE = ../../tbase/patched/tbase.bin ETOPO5 = ../../etopo5/etopo5.img all: grid00e.txt grid00t.txt $(BIN)/q1x1: $(SRC)/q1x1.c $(CC) $(CFLAGS) $(SRC)/q1x1.c -o $(BIN)/q1x1 # Grids based on ETOPO5 grid00e.txt: $(ETOPO5) $(BIN)/q1x1 $(BIN)/q1x1 $(ETOPO5) >grid00e.txt # Grids based on TerrainBase grid00t.txt: $(TBASE) $(BIN)/q1x1 $(BIN)/q1x1 $(TBASE) >grid00t.txt