2016-05-15 23:07:44 +01:00
|
|
|
.PHONY: all check default
|
|
|
|
CFLAGS=-std=c99 -O3 -finline-functions
|
|
|
|
#CFLAGS=-g
|
|
|
|
|
|
|
|
default: all
|
|
|
|
|
2016-07-09 12:23:58 +01:00
|
|
|
all: mes boot.mes
|
2016-05-15 23:07:44 +01:00
|
|
|
|
|
|
|
check: all
|
|
|
|
./mes.test
|
|
|
|
./mes.test ./mes
|
2016-07-09 14:16:30 +01:00
|
|
|
cat scm.mes test.mes | ./mes
|
2016-07-09 12:23:58 +01:00
|
|
|
|
|
|
|
boot.mes: mes.mes scm.mes test.mes
|
|
|
|
cat $^ > $@
|
2016-05-29 12:44:03 +01:00
|
|
|
|
|
|
|
boot: all
|
|
|
|
./mes < boot.mes
|
2016-07-09 12:23:58 +01:00
|
|
|
|
|
|
|
run: all
|
2016-07-09 14:16:30 +01:00
|
|
|
cat scm.mes test.mes | ./mes
|