----------------------------------------------------------------------------------
@MSGID: 1@dont-email.me> 96648ff0
@REPLY: GMN3.79590@fx16.iad>
cbbd8a24
@REPLYADDR vallor <vallor@cultnix.org>
@REPLYTO 2:5075/128 vallor
@CHRS: CP866 2
@RFC: 1 0
@RFC-Message-ID: 1@dont-email.me>
@RFC-References: 1@dont-email.me>
1@dont-email.me><87wmxps26h.fsf@bsb.me.uk> 1@dont-email.me><87r0nxrvm1.fsf@bsb.me.uk>
1@dont-email.me><87zg2jrk7t.fsf@bsb.me.uk>1@dont-email.me><20230823195415.19d4c01e0cb2ca57faf92c07@g{oogle}m
ail.com>2@dont-email.me> 1@dont-email.me><20230824083325.525@kylheku.com>
1@dont-email.me>GMN3.79590@fx16.iad>
@TZUTC: -0000
@TID: FIDOGATE-5.12-ge4e8b94
On Thu, 24 Aug 2023 18:29:02 GMT,
scott@slp53.sl.home (Scott Lurndal)
wrote in
GMN3.79590@fx16.iad>:
> The default rules built into make(1) include a rule like
>
> %.o: %.c
> $(CC) $(CFLAGS) -o $@ -c $<
A lot of times, for simple one-off projects, I don`t
need a Makefile.
Assuming a valid source file "try.c", I can
type "make try" and get an executable
called "try".
_ _ _ _ _ _ _
$ echo "int main(){ return 0; }" > try.c
$ make try
cc try.c -o try
$ make CFLAGS=-O3 try
make: `try` is up to date.
$ rm try
$ make CFLAGS=-O3 try
cc -O3 try.c -o try
$ echo `CFLAGS=-O3` > Makefile
$ rm try
$ make try
cc -O3 try.c -o try
_ _ _ _ _ _ _
I may be mistaken, but I`m pretty sure this works
in any modern POSIX environment.
Folks are calling it "Unix/Linux" software. But a subset of
that is POSIX, and a POSIX environment on Windows should let
you build some of the same software. (I used to use Cygwin
for that, before I jumped ship completely from Windows.)
And I used the package manager to install autoconf,
which gave me the aclocal command.
Bart:
If you`re cloning a git repository on an autoconf package,
expect to run ./autogen.sh -- the included "configure" script
probably isn`t set up for Windows. (Guessing.)
And for autogen to work, you`ll need the autoconf
developer environment. If you`re on Windows,
a working autoconf would seem to be important here,
since that gives you the "aclocal" command that is part
of the process -- and which sets up the configure script
for your environment.
(Just be glad you aren`t using imake...)
--
-v
--- FIDOGATE 5.12-ge4e8b94
* Origin: A noiseless patient Spider (2:5075/128)
SEEN-BY: 5001/100 5005/49 5010/352 5015/255 5019/40
5020/715 848 1042 4441
SEEN-BY: 5020/12000 5030/49 1081 5075/128
@PATH: 5075/128 5020/1042 4441