add makros as a submodule
This commit is contained in:
parent
afcfddf5e6
commit
c155656270
|
@ -0,0 +1,3 @@
|
||||||
|
[submodule "makros"]
|
||||||
|
path = makros
|
||||||
|
url = https://tildegit.org/opfez/makros
|
6
Makefile
6
Makefile
|
@ -1,12 +1,16 @@
|
||||||
CFLAGS = -Wall -Wextra -Werror -std=c99 -pedantic
|
CFLAGS = -Wall -Wextra -Werror -std=c99 -pedantic
|
||||||
FORMAT = ./format
|
FORMAT = ./format
|
||||||
|
MAKROS = ./makros/makros
|
||||||
|
|
||||||
default: gen
|
default: gen
|
||||||
|
|
||||||
$(FORMAT): format.c
|
$(FORMAT): format.c
|
||||||
$(CC) $(CFLAGS) $< -o $@
|
$(CC) $(CFLAGS) $< -o $@
|
||||||
|
|
||||||
gen: $(FORMAT) site-src/*
|
$(MAKROS): makros/makros.c
|
||||||
|
cd makros && make
|
||||||
|
|
||||||
|
gen: $(FORMAT) $(MAKROS) site-src/*
|
||||||
./gen.sh
|
./gen.sh
|
||||||
|
|
||||||
.PHONY: clean
|
.PHONY: clean
|
||||||
|
|
2
TODO.org
2
TODO.org
|
@ -3,6 +3,8 @@ Writan:
|
||||||
|
|
||||||
Pages:
|
Pages:
|
||||||
- Add a category theory page (more general, math).
|
- Add a category theory page (more general, math).
|
||||||
|
- A page about APL (and trains), different combinators could be cool.
|
||||||
|
|
||||||
Orphan pages:
|
Orphan pages:
|
||||||
- Emacs
|
- Emacs
|
||||||
|
- Netbpm
|
||||||
|
|
2
gen.sh
2
gen.sh
|
@ -1,7 +1,7 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
# makros binary
|
# makros binary
|
||||||
MAKROS=./makros
|
MAKROS=./makros/makros
|
||||||
|
|
||||||
if ! find $MAKROS 2>/dev/null >/dev/null; then
|
if ! find $MAKROS 2>/dev/null >/dev/null; then
|
||||||
echo "couldn't find the makros binary"
|
echo "couldn't find the makros binary"
|
||||||
|
|
|
@ -0,0 +1 @@
|
||||||
|
Subproject commit 2992b0e0f987e39dbf578d5c180ce8d62dc6cb50
|
Loading…
Reference in New Issue