Skip to content

Commit

Permalink
Cross-compiling (for windows) tweaks
Browse files Browse the repository at this point in the history
Signed-off-by: Christopher Arndt <chris@chrisarndt.de>
  • Loading branch information
SpotlightKid committed Aug 13, 2019
1 parent 7e72c47 commit 3fc8e84
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 4 deletions.
7 changes: 5 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,14 @@ gen: plugins dpf/utils/lv2_ttl_generator
ifeq ($(MACOS),true)
@$(CURDIR)/dpf/utils/generate-vst-bundles.sh
endif

dpf/utils/lv2_ttl_generator:
$(MAKE) -C dpf/utils/lv2-ttl-generator
else
gen:
gen: plugins dpf/utils/lv2_ttl_generator.exe
@$(CURDIR)/dpf/utils/generate-ttl.sh

dpf/utils/lv2_ttl_generator.exe:
$(MAKE) -C dpf/utils/lv2-ttl-generator WINDOWS=true
endif

# --------------------------------------------------------------
Expand Down
5 changes: 4 additions & 1 deletion scripts/build-win32.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,10 @@ export CXXFLAGS="${_FLAGS}"
export CROSS_COMPILING=true

# Start clean
make clean >/dev/null
make clean > /dev/null
make -C dpf clean > /dev/null
rm -rf bin-w32

# Build now
make
mv bin bin-w32
5 changes: 4 additions & 1 deletion scripts/build-win64.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,10 @@ export LDFLAGS="-static"
export CROSS_COMPILING=true

# Start clean
make clean >/dev/null
make clean > /dev/null
make -C dpf clean > /dev/null
rm -rf bin-w64

# Build now
make
#mv bin bin-w64

0 comments on commit 3fc8e84

Please sign in to comment.