This website works better with JavaScript.
Home
Help
Sign In
VCVRack
/
Rack
mirror of
https://github.com/VCVRack/Rack.git
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
38
Wiki
Activity
Browse Source
Clean up build system
tags/v0.5.0
Andrew Belt
7 years ago
parent
fde88775d4
commit
df69ba0d51
3 changed files
with
8 additions
and
16 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
Makefile
+0
-10
compile.mk
+7
-5
plugin.mk
+ 1
- 1
Makefile
View File
@@ -75,7 +75,7 @@ include compile.mk
dist: all
ifndef VERSION
$(error VERSION must be defined when
calling make
)
$(error VERSION must be defined when
making distributables
)
endif
rm -rf dist
$(MAKE) -C plugins/Fundamental dist
+ 0
- 10
compile.mk
View File
@@ -42,16 +42,6 @@ DEPS = $(patsubst %, build/%.d, $(SOURCES))
$(TARGET): $(OBJECTS)
$(CXX) -o $@ $^ $(LDFLAGS)
%.so:
$(CXX) -o $@ $^ $(LDFLAGS)
%.dylib:
$(CXX) -o $@ $^ $(LDFLAGS)
%.dll:
$(CXX) -o $@ $^ $(LDFLAGS)
# Object targets
-include $(DEPS)
+ 7
- 5
plugin.mk
View File
@@ -8,21 +8,23 @@ include ../../arch.mk
ifeq ($(ARCH), lin)
LDFLAGS += -shared
PLUGIN_EXTENSION =
so
TARGET = plugin.
so
endif
ifeq ($(ARCH), mac)
LDFLAGS += -shared -undefined dynamic_lookup
PLUGIN_EXTENSION =
dylib
TARGET = plugin.
dylib
endif
ifeq ($(ARCH), win)
LDFLAGS += -shared -L../../ -lRack
PLUGIN_EXTENSION =
dll
TARGET = plugin.
dll
endif
clean:
rm -rfv build *.$(PLUGIN_EXTENSION) dist
all: $(TARGET)
include ../../compile.mk
clean:
rm -rfv build $(TARGET) dist
Write
Preview
Loading…
Cancel
Save