CC=gcc
Executable=ling_HW14
Header=header.h
ObjectFile=ling_hw14.o f.o maketable.o
Libpath+=-L/usr/local/lib -lgsl -lgslcblas -lm -Os -o

%.o: %.c $(Header)
	$(CC) -c -o $@ $<

$(Executable):$(ObjectFile) $(Header)
	$(CC)  -$(Libpath) -Os -o $(Executable) $(ObjectFile)
clean:
	rm -f ling_HW13
	rm -f *.o
	rm -f *~

