Info on options
This commit is contained in:
parent
c1e5410850
commit
6728be1e05
13
README
13
README
@ -8,15 +8,26 @@ you may see a real example in the primary and only source file: `baked.c'.
|
||||
this is not targeted toward any language and should be fairly flexible,
|
||||
especially when multi-line comments are available.
|
||||
|
||||
Buildng
|
||||
|
||||
Initial building may be done by examining and running `install.sh',
|
||||
if you don't want to install it right away, run `SUDO= TARGET=. ./install.sh'
|
||||
|
||||
Name/arg extension:
|
||||
Name/Arg extension
|
||||
|
||||
$@: the name of the executed file
|
||||
$*: the text of the filename before the last dot
|
||||
$+: the remaining arguments to baked
|
||||
|
||||
Options extension
|
||||
|
||||
only one option may be in use at a time, and must come as the first argument.
|
||||
|
||||
-h: displays help message, similiarly to empty input.
|
||||
-n: DRYRUN, does NOT run anything!
|
||||
|
||||
Notes
|
||||
|
||||
baked was inspired by Shake (formerly eMake), written by anon, which
|
||||
you may view at <http://bis64wqhh3louusbd45iyj76kmn4rzw5ysawyan5bkxwyzihj67c5lid.onion/anon/shake>
|
||||
|
||||
|
14
baked.c
14
baked.c
@ -1,4 +1,16 @@
|
||||
/* EXEC:cc $@ -o $* -std=gnu89 -O2 -Wall -Wextra -Wpedantic -pipe $CFLAGS:STOP */
|
||||
/* baked.c - Ever burned a cake?
|
||||
Copyright 2023 Emil Williams
|
||||
|
||||
Licensed under the GNU Public License version 3 only, see LICENSE.
|
||||
|
||||
EXEC:cc $@ -o $* -std=gnu89 -O2 -Wall -Wextra -Wpedantic -pipe $CFLAGS:STOP
|
||||
@COMPILECMD cc $@ -o $* -std=gnu89 -O2 -Wall -Wextra -Wpedantic -pipe $CFLAGS
|
||||
|
||||
TODO
|
||||
|
||||
1. Possibly trim whitespace from before and after the buffer (no realloc), and
|
||||
make sure single lined commands are not wrapped. (BLOAT)
|
||||
*/
|
||||
|
||||
#include <assert.h>
|
||||
#include <errno.h>
|
||||
|
Loading…
Reference in New Issue
Block a user