|
- SHELL:=/bin/bash -O extglob
-
- # 03/03/2018 Changed to match https://github.com/VCVRack/Fundamental/blob/master/Makefile
-
- SLUG = trowaSoft
- VERSION = 0.6.3
- # ^ Don't allow any SPACE after the VERSION because it will F'UP the zip...
- # ONLY 3 digits allowed now. https://github.com/VCVRack/community/issues/269
-
- RACK_DIR ?= ../..
-
- # Add .cpp and .c files to the build
- SOURCES = \
- $(wildcard lib/oscpack/ip/*.cpp) \
- $(wildcard lib/oscpack/osc/*.cpp) \
- $(wildcard src/*.cpp) \
- $(wildcard src/*/*.cpp) \
-
- # Careful about linking to libraries, since you can't assume much about the user's environment and library search path.
- # Static libraries are fine.
- include $(RACK_DIR)/arch.mk
-
- ifeq ($(ARCH), win)
- SOURCES += $(wildcard lib/oscpack/ip/win32/*.cpp)
- LDFLAGS += -lws2_32 -lwinmm
- LDFLAGS += -L$(RACK_DIR)/dep/lib #-lglew32 -lglfw3dll
- #LDFLAGS += -lrtmidi
- else
- SOURCES += $(wildcard lib/oscpack/ip/posix/*.cpp)
- endif
-
- DISTRIBUTABLES += $(wildcard LICENSE*) res \
- pd other
- # ^ add our other folders (supplementary files)
-
- include $(RACK_DIR)/plugin.mk
-
-
-
|