Update makefile to build executables
This commit is contained in:
parent
dd4ff777f4
commit
3f962296d2
6
Makefile
6
Makefile
@ -54,6 +54,9 @@ tags:
|
|||||||
@echo $(CC) $(CFLAGS_PLACEHOLDER) -c $< -o $@
|
@echo $(CC) $(CFLAGS_PLACEHOLDER) -c $< -o $@
|
||||||
@$(CC) $(CFLAGS) -c $< -o $@
|
@$(CC) $(CFLAGS) -c $< -o $@
|
||||||
|
|
||||||
|
%: %.tm
|
||||||
|
tomo -e $<
|
||||||
|
|
||||||
%.tm.testresult: %.tm tomo
|
%.tm.testresult: %.tm tomo
|
||||||
@printf '\x1b[33;1;4m%s\x1b[m\n' $<
|
@printf '\x1b[33;1;4m%s\x1b[m\n' $<
|
||||||
@set -o pipefail; \
|
@set -o pipefail; \
|
||||||
@ -71,7 +74,8 @@ clean:
|
|||||||
%: %.md
|
%: %.md
|
||||||
pandoc --lua-filter=.pandoc/bold-code.lua -s $< -t man -o $@
|
pandoc --lua-filter=.pandoc/bold-code.lua -s $< -t man -o $@
|
||||||
|
|
||||||
examples:
|
examples: examples/commands/commands examples/base64/base64 examples/ini/ini examples/game/game \
|
||||||
|
examples/tomodeps/tomodeps examples/tomo-install/tomo-install examples/wrap/wrap examples/colorful/colorful
|
||||||
./tomo -IL examples/commands examples/shell examples/base64 examples/log examples/ini examples/vectors examples/game \
|
./tomo -IL examples/commands examples/shell examples/base64 examples/log examples/ini examples/vectors examples/game \
|
||||||
examples/http examples/threads examples/tomodeps examples/tomo-install examples/wrap examples/pthread examples/colorful
|
examples/http examples/threads examples/tomodeps examples/tomo-install examples/wrap examples/pthread examples/colorful
|
||||||
./tomo examples/learnxiny.tm
|
./tomo examples/learnxiny.tm
|
||||||
|
Loading…
Reference in New Issue
Block a user