Makefile 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. # Makefile of the library "sys"
  2. # Paul Boersma, 11 August 2018
  3. include ../makefile.defs
  4. # -I ../sys is there because e.g. Graphics.cpp include fon/Function.h, which again includes something from sys
  5. CPPFLAGS = -I ../melder -I ../sys
  6. OBJECTS = Thing.o Data.o Simple.o Collection.o Strings.o \
  7. Graphics.o Graphics_linesAndAreas.o Graphics_text.o Graphics_colour.o \
  8. Graphics_image.o Graphics_mouse.o Graphics_record.o \
  9. Graphics_utils.o Graphics_grey.o Graphics_altitude.o \
  10. GraphicsPostscript.o Graphics_surface.o \
  11. ManPage.o ManPages.o Script.o machine.o \
  12. GraphicsScreen.o Printer.o \
  13. Preferences.o site.o \
  14. Picture.o Ui.o UiFile.o UiPause.o Editor.o DataEditor.o HyperPage.o Manual.o TextEditor.o \
  15. praat.o praat_actions.o praat_menuCommands.o praat_picture.o sendpraat.o sendsocket.o \
  16. praat_script.o praat_statistics.o praat_logo.o praat_library.o \
  17. praat_objectMenus.o InfoEditor.o ScriptEditor.o ButtonEditor.o Interpreter.o Formula.o \
  18. StringsEditor.o DemoEditor.o \
  19. motifEmulator.o GuiText.o GuiWindow.o Gui.o GuiObject.o GuiDrawingArea.o \
  20. GuiMenu.o GuiMenuItem.o GuiButton.o GuiLabel.o GuiCheckButton.o GuiRadioButton.o \
  21. GuiDialog.o GuiList.o GuiFileSelect.o GuiScale.o GuiScrollBar.o GuiScrolledWindow.o \
  22. GuiControl.o GuiForm.o GuiOptionMenu.o GuiProgressBar.o GuiShell.o GuiThing.o Gui_messages.o
  23. .PHONY: all clean
  24. all: libsys.a
  25. clean:
  26. $(RM) $(OBJECTS)
  27. $(RM) libsys.a
  28. libsys.a: $(OBJECTS)
  29. touch libsys.a
  30. rm libsys.a
  31. $(AR) cq libsys.a $(OBJECTS)
  32. $(RANLIB) libsys.a
  33. $(OBJECTS): *.h ../kar/*.h ../melder/*.h ../dwsys/*.h