mirror of
https://github.com/Valeh2012/PersonalVotingMachine
synced 2024-11-29 20:30:59 +02:00
21 lines
328 B
Makefile
21 lines
328 B
Makefile
|
#
|
||
|
# 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
|