[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Makefile for my loadable builtin
From: |
Chet Ramey |
Subject: |
Re: Makefile for my loadable builtin |
Date: |
Mon, 25 Apr 2022 16:25:00 -0400 |
User-agent: |
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:91.0) Gecko/20100101 Thunderbird/91.8.1 |
On 4/25/22 11:15 AM, Robert E. Griffith wrote:
ok, thanks. It seems like copying the MakeFile.inc will work for a lot of
platforms (enough for me probably) but not all.
Would it make sense to remove the "all" and "example" targets from
examples/loadables/Makefile.inc.in and that way packages with loadable
builtins could just include /usr/lib/bash/Makefile.inc (or similar maybe
for non-debian distros) to get the right options for any situation?
The goal for that file is to give you a template you can copy and just
change a couple of items (e.g., all occurrences of "example") to have a
Makefile you can use for your own builtin.
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU chet@case.edu http://tiswww.cwru.edu/~chet/