Audio plugin host https://kx.studio/carla
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.

51 lines
1.6KB

  1. #!/usr/bin/make -f
  2. # Makefile for hylia #
  3. # ------------------ #
  4. # Created by falkTX
  5. #
  6. CWD=../..
  7. MODULENAME=hylia
  8. include ../Makefile.mk
  9. # ----------------------------------------------------------------------------------------------------------------------------
  10. BUILD_CXX_FLAGS += $(HYLIA_FLAGS) -I$(CWD) -Ilink
  11. BUILD_CXX_FLAGS += -Wno-multichar -Wno-unused-parameter -Wno-unused-variable -Wno-uninitialized
  12. BUILD_CXX_FLAGS += -Wno-missing-field-initializers
  13. # ----------------------------------------------------------------------------------------------------------------------------
  14. OBJS = $(OBJDIR)/hylia.cpp.o
  15. # ----------------------------------------------------------------------------------------------------------------------------
  16. all: $(MODULEDIR)/$(MODULENAME).a
  17. # ----------------------------------------------------------------------------------------------------------------------------
  18. clean:
  19. rm -f $(OBJDIR)/*.o $(MODULEDIR)/$(MODULENAME)*.a
  20. debug:
  21. $(MAKE) DEBUG=true
  22. # ----------------------------------------------------------------------------------------------------------------------------
  23. $(MODULEDIR)/$(MODULENAME).a: $(OBJS)
  24. -@mkdir -p $(MODULEDIR)
  25. @echo "Creating $(MODULENAME).a"
  26. @rm -f $@
  27. @$(AR) crs $@ $^
  28. # ----------------------------------------------------------------------------------------------------------------------------
  29. $(OBJDIR)/%.cpp.o: %.cpp
  30. -@mkdir -p $(OBJDIR)
  31. @echo "Compiling $<"
  32. @$(CXX) $< $(BUILD_CXX_FLAGS) -c -o $@
  33. -include $(OBJS:%.o=%.d)
  34. # ----------------------------------------------------------------------------------------------------------------------------