#!/bin/tcsh # regular program gcc -o counter counter.c # show total hits, no update gcc -o counter_t_nu -DPrintTotal -DNoUpdate counter.c # show total hits, with counter update gcc -o counter_t -DPrintTotal counter.c # show hits in history, no update gcc -o counter_h_nu -DPrintHist -DNoUpdate counter.c # show hits in history, with counter update gcc -o counter_h -DPrintHist counter.c