PersonalVotingMachine/basic-setup/components/u8g2/tools/mdtoc/Makefile

21 lines
328 B
Makefile
Raw Normal View History

2020-12-22 14:30:09 +02:00
#
# Markdown TOC Generator
# type "make wiki" and commit & push wiki
#
# works within ubuntu and min-gw (win7) environment
CFLAGS = -g
#CFLAGS = -O4 -Wall
SRC = mdtoc.c
OBJ = $(SRC:.c=.o)
mdtoc: $(SRC)
$(CC) -Wall -g $(LDFLAGS) $(SRC) -o mdtoc
clean:
-rm tmp.md ./mdtoc
wiki: mdtoc
./mdtoc ../../../u8g2.wiki/*.md