Skip to content

Commit

Permalink
build: Install arculator.exe on Windows when using autotools
Browse files Browse the repository at this point in the history
  • Loading branch information
sarah-walker-pcem committed Apr 16, 2023
1 parent 85e0735 commit d3c565b
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,12 @@ bin_PROGRAMS = arculator
noinst_SCRIPTS =
CLEANFILES =

if !OS_WINDOWS
if OS_WINDOWS
CLEANFILES += $(noinst_SCRIPTS)
noinst_SCRIPTS += ../arculator.exe
../arculator.exe: arculator.exe
cp .libs/arculator.exe ..
else
CLEANFILES += $(noinst_SCRIPTS)
noinst_SCRIPTS += ../arculator
../arculator: arculator
Expand Down

0 comments on commit d3c565b

Please sign in to comment.