# We need the Numerical Recipes headers and libraries. # They live in NRDIR. NRDIR = /Users/steve/NR #NRDIR = /usr/local/recipes # on newton # Programs to build: EXE = hw2.1 hw2.2 hw2.3 hw2.4 CFLAGS += -I$(NRDIR) LDLIBS += -L$(NRDIR) -lnr -lm all: $(EXE) zip: zip hw2.zip Makefile hw2*.c run*.sh hw*.py clean: $(RM) $(EXE) *~ *.dat *.png *.ps *.pdf *.zip