Makefile 334 B

1234567891011121314151617181920212223
  1. # Project : input-output analysis tools
  2. #
  3. # Moez Kilani, Marsh 29th, 2012
  4. #
  5. CC = gfortran
  6. EXEC = rtes
  7. LDFLAGS = -llapack -lslatec
  8. all: $(EXEC)
  9. rtes: maintes.o input.o lq.o matcoef.o matinv.o regional.o quick_sort2.o
  10. $(CC) -o $@ $^ $(LDFLAGS)
  11. %.o: %.f
  12. $(CC) -o $@ -c $<
  13. # Utility targets
  14. #
  15. .PHONY: clean
  16. clean:
  17. rm -f *.o