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
|
||||
FORMAT = ./format
|
||||
MAKROS = ./makros/makros
|
||||
|
||||
default: gen
|
||||
|
||||
$(FORMAT): format.c
|
||||
$(CC) $(CFLAGS) $< -o $@
|
||||
|
||||
gen: $(FORMAT) site-src/*
|
||||
$(MAKROS): makros/makros.c
|
||||
cd makros && make
|
||||
|
||||
gen: $(FORMAT) $(MAKROS) site-src/*
|
||||
./gen.sh
|
||||
|
||||
.PHONY: clean
|
||||
|
|
2
TODO.org
2
TODO.org
|
@ -3,6 +3,8 @@ Writan:
|
|||
|
||||
Pages:
|
||||
- Add a category theory page (more general, math).
|
||||
- A page about APL (and trains), different combinators could be cool.
|
||||
|
||||
Orphan pages:
|
||||
- Emacs
|
||||
- Netbpm
|
||||
|
|
2
gen.sh
2
gen.sh
|
@ -1,7 +1,7 @@
|
|||
#!/bin/sh
|
||||
|
||||
# makros binary
|
||||
MAKROS=./makros
|
||||
MAKROS=./makros/makros
|
||||
|
||||
if ! find $MAKROS 2>/dev/null >/dev/null; then
|
||||
echo "couldn't find the makros binary"
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
Subproject commit 2992b0e0f987e39dbf578d5c180ce8d62dc6cb50
|
Loading…
Reference in New Issue