commit a46a875977cacc28aadf339fffb8a2a3e6d02600
parent 4b2cf4fba4965c040a13859ace33ead19aa831ed
Author: Matt Demanett <matt@demanett.net>
Date: Sat, 25 May 2019 22:42:29 -0400
v1: Fix linux build when building against Rack itelf rather than the SDK.
Diffstat:
2 files changed, 3 insertions(+), 1 deletion(-)
diff --git a/Makefile b/Makefile
@@ -8,13 +8,14 @@ FLAGS += -DTEST=1
endif
SOURCES = $(wildcard src/*.cpp src/dsp/*cpp)
-CXXFLAGS += -Isrc -Isrc/dsp
DISTRIBUTABLES += $(wildcard LICENSE* README*) res
RACK_DIR ?= ../..
include $(RACK_DIR)/plugin.mk
+CXXFLAGS += -Isrc -Isrc/dsp
+
BENCHMARK_SOURCES = $(wildcard benchmarks/*.cpp src/dsp/*cpp)
BENCHMARK_OBJECTS = $(patsubst %, build/%.o, $(BENCHMARK_SOURCES))
BENCHMARK_DEPS = $(patsubst %, build/%.d, $(BENCHMARK_SOURCES))
diff --git a/src/trigger_on_load.hpp b/src/trigger_on_load.hpp
@@ -1,3 +1,4 @@
+#pragma once
#include "rack.hpp"