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.

50 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-variable -Wno-uninitialized -Wno-missing-field-initializers
  12. # ----------------------------------------------------------------------------------------------------------------------------
  13. OBJS = $(OBJDIR)/hylia.cpp.o
  14. # ----------------------------------------------------------------------------------------------------------------------------
  15. all: $(MODULEDIR)/$(MODULENAME).a
  16. # ----------------------------------------------------------------------------------------------------------------------------
  17. clean:
  18. rm -f $(OBJDIR)/*.o $(MODULEDIR)/$(MODULENAME)*.a
  19. debug:
  20. $(MAKE) DEBUG=true
  21. # ----------------------------------------------------------------------------------------------------------------------------
  22. $(MODULEDIR)/$(MODULENAME).a: $(OBJS)
  23. -@mkdir -p $(MODULEDIR)
  24. @echo "Creating $(MODULENAME).a"
  25. @rm -f $@
  26. @$(AR) crs $@ $^
  27. # ----------------------------------------------------------------------------------------------------------------------------
  28. $(OBJDIR)/%.cpp.o: %.cpp
  29. -@mkdir -p $(OBJDIR)
  30. @echo "Compiling $<"
  31. @$(CXX) $< $(BUILD_CXX_FLAGS) -c -o $@
  32. -include $(OBJS:%.o=%.d)
  33. # ----------------------------------------------------------------------------------------------------------------------------