Makefile 886 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. # makefile for library "dwsys".
  2. # David Weenink 20180828
  3. # Paul Boersma 2018-08-10
  4. include ../makefile.defs
  5. CPPFLAGS = -I ../melder -I ../stat -I ../sys -I ../external/gsl -I ../kar
  6. all: libdwsys.a
  7. OBJECTS = Collection_extensions.o Command.o \
  8. DoublyLinkedList.o Eigen.o \
  9. FileInMemory.o FileInMemorySet.o FileInMemoryManager.o\
  10. Graphics_extensions.o Index.o \
  11. MAT_numerics.o \
  12. NUM2.o NUMhuber.o NUMmachar.o \
  13. NUMf2c.o NUMcblas.o NUMclapack.o NUMcomplex.o NUMfft_d.o NUMsort2.o \
  14. NUMmathlib.o NUMstring.o \
  15. Permutation.o Permutation_and_Index.o \
  16. SimpleVector.o \
  17. SVD.o
  18. .PHONY: all clean
  19. all: libdwsys.a
  20. clean:
  21. $(RM) $(OBJECTS)
  22. $(RM) libdwsys.a
  23. libdwsys.a: $(OBJECTS) NUMmachar.o
  24. touch libdwsys.a
  25. rm libdwsys.a
  26. $(AR) cq libdwsys.a $(OBJECTS)
  27. $(RANLIB) libdwsys.a
  28. $(OBJECTS): *.h ../melder/*.h ../stat/*.h ../sys/*.h ../external/gsl/*.h ../dwsys/*.h ../kar/*.h