You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

83 lines
2.0KB

  1. ### Do not edit -- Generated by 'configure --with-whatever' from Makefile.in
  2. ### STK ragamatic Makefile - for various flavors of unix
  3. PROGRAMS =
  4. RM = /bin/rm
  5. SRC_PATH = ../../src
  6. OBJECT_PATH = @object_path@
  7. vpath %.o $(OBJECT_PATH)
  8. OBJECTS = Stk.o Noise.o ADSR.o \
  9. DelayA.o Delay.o \
  10. OnePole.o OneZero.o Skini.o \
  11. Tabla.o Sitar.o \
  12. Drone.o VoicDrum.o FileRead.o FileWvIn.o \
  13. JCRev.o Messager.o
  14. INCLUDE = @include@
  15. ifeq ($(strip $(INCLUDE)), )
  16. INCLUDE = ../../include
  17. endif
  18. vpath %.h $(INCLUDE)
  19. CC = @CXX@
  20. DEFS = @CPPFLAGS@
  21. DEFS += @byte_order@
  22. CFLAGS = @CXXFLAGS@
  23. CFLAGS += -I$(INCLUDE) -I$(INCLUDE)/../src/include
  24. LIBRARY = @LIBS@
  25. REALTIME = @realtime@
  26. ifeq ($(REALTIME),yes)
  27. PROGRAMS = ragamat
  28. OBJECTS += RtMidi.o RtAudio.o Thread.o Mutex.o Socket.o TcpServer.o @objects@
  29. endif
  30. RAWWAVES = @rawwaves@
  31. ifeq ($(strip $(RAWWAVES)), )
  32. RAWWAVES = ../../rawwaves/
  33. endif
  34. DEFS += -DRAWWAVE_PATH=\"$(RAWWAVES)\"
  35. %.o : $(SRC_PATH)/%.cpp $(OBJECT_PATH)/.placeholder
  36. $(CC) $(CFLAGS) $(DEFS) -c $(<) -o $(OBJECT_PATH)/$@
  37. %.o : ../../src/include/%.cpp $(OBJECT_PATH)/.placeholder
  38. $(CC) $(CFLAGS) $(DEFS) -c $(<) -o $(OBJECT_PATH)/$@
  39. all : $(PROGRAMS)
  40. $(OBJECT_PATH)/.placeholder:
  41. mkdir -vp $(OBJECT_PATH)
  42. touch $(OBJECT_PATH)/.placeholder
  43. ragamat: ragamat.cpp $(OBJECTS)
  44. $(CC) $(LDFLAGS) $(CFLAGS) $(DEFS) -o ragamat ragamat.cpp $(OBJECT_PATH)/*.o $(LIBRARY)
  45. libragamat: ragamat.cpp Tabla.cpp Drone.cpp VoicDrum.cpp
  46. $(CC) $(LDFLAGS) $(CFLAGS) $(DEFS) -o ragamat Tabla.cpp Drone.cpp VoicDrum.cpp ragamat.cpp -L../../src -lstk $(LIBRARY)
  47. $(OBJECTS) : Stk.h
  48. clean :
  49. $(RM) -f $(OBJECT_PATH)/*.o
  50. $(RM) -f $(PROGRAMS) *.exe
  51. $(RM) -fR *~ *.dSYM
  52. distclean: clean
  53. $(RM) Makefile
  54. strip :
  55. strip $(PROGRAMS)
  56. # Project specific objects:
  57. Tabla.o: Tabla.cpp
  58. $(CC) $(CFLAGS) $(DEFS) -c Tabla.cpp -o $(OBJECT_PATH)/$@
  59. Drone.o: Drone.cpp
  60. $(CC) $(CFLAGS) $(DEFS) -c Drone.cpp -o $(OBJECT_PATH)/$@
  61. VoicDrum.o: VoicDrum.cpp
  62. $(CC) $(CFLAGS) $(DEFS) -c VoicDrum.cpp -o $(OBJECT_PATH)/$@