Makefile 746 B

1234567891011121314151617181920212223242526272829
  1. # Makefile of the library "gram"
  2. # Paul Boersma 2018-08-10
  3. include ../makefile.defs
  4. CPPFLAGS = -I ../kar -I ../melder -I ../sys -I ../dwsys -I ../stat -I ../dwtools -I ../fon
  5. OBJECTS = Network.o \
  6. OTGrammar.o OTGrammarEditor.o manual_gram.o praat_gram.o OTMulti.o OTMultiEditor.o \
  7. OTGrammar_ex_metrics.o OTGrammar_ex_NoCoda.o OTGrammar_ex_NPA.o OTGrammar_ex_tongueRoot.o \
  8. OTMulti_ex_metrics.o Layer.o Net.o \
  9. NoulliGrid.o NoulliGridEditor.o
  10. .PHONY: all clean
  11. all: libgram.a
  12. clean:
  13. $(RM) $(OBJECTS)
  14. $(RM) libgram.a
  15. libgram.a: $(OBJECTS)
  16. touch libgram.a
  17. rm libgram.a
  18. $(AR) cq libgram.a $(OBJECTS)
  19. $(RANLIB) libgram.a
  20. $(OBJECTS): *.h ../kar/*.h ../melder/*.h ../sys/*.h ../dwsys/*.h ../stat/*.h ../dwtools/*.h ../fon/*.h