in reply to [OT] Windows cmd.exe shell
Why not a Makefile? This is the proper way AFAIC.
Here is a skeleton project I wrote for compiling simple perl-embedding code using GNU Autotools: https://github.com/hadjiprocopis/perl-embed-autotools.
It uses already existing m4 macro AX_PERL_EXT (in m4/ax_perl_ext.m4) and my own m4 macro AX_PERL_EMBED_EXT (in m4/ax_perl_embed_ext.m4) to provide some more compilation variables.
sh bootstrap.sh && ./configure && make all will get you started if you are in a unix system. If on a windows system just execute the autotools commands in bootstrap.sh manually or in a batch file - provided you already have GNU Autotools installed, see https://www.gnu.org/software/automake.
bw, bliako
(Edit: 40 minutes after posting: git is now good to go)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: [OT] Windows cmd.exe shell - use a Makefile
by syphilis (Archbishop) on Aug 02, 2019 at 01:17 UTC |