2020-10-29 09:11:34 -04:00
|
|
|
files = pebblisp.c tokens.c object.c env.c
|
2020-05-19 20:37:15 -04:00
|
|
|
exe = pebblisp
|
2020-05-15 16:27:45 -04:00
|
|
|
|
2020-05-06 00:47:14 -04:00
|
|
|
all:
|
2020-05-23 13:01:15 -04:00
|
|
|
gcc -g -O0 -Wall -o $(exe) -D STANDALONE $(files) && ./tests.sh
|
2020-05-15 16:27:45 -04:00
|
|
|
|
|
|
|
notest:
|
2020-05-23 13:01:15 -04:00
|
|
|
gcc -g -O0 -Wall -o $(exe) -D STANDALONE $(files)
|
2020-05-06 00:47:14 -04:00
|
|
|
|
2020-05-14 23:50:53 -04:00
|
|
|
val:
|
2020-05-23 13:01:15 -04:00
|
|
|
gcc -g -O0 -Wall -o $(exe) -D STANDALONE $(files) && ./tests.sh -val
|
2020-05-14 23:50:53 -04:00
|
|
|
|
2020-05-06 00:47:14 -04:00
|
|
|
debug:
|
2020-05-23 13:01:15 -04:00
|
|
|
gcc -g -O0 -Wall -o $(exe) -D STANDALONE -D DEBUG $(files)
|
2020-05-07 20:32:01 -04:00
|
|
|
|
2020-05-08 02:29:06 -04:00
|
|
|
run:
|
2020-05-19 20:37:15 -04:00
|
|
|
./$(exe)
|
2020-10-29 09:04:32 -04:00
|
|
|
|
|
|
|
install:
|
|
|
|
cp ./$(exe) /usr/bin/pl
|
2020-11-06 15:30:14 -05:00
|
|
|
mkdir -p /usr/share/pebblisp/
|
|
|
|
rm /usr/share/pebblisp/*
|
|
|
|
cp ./examples/* /usr/share/pebblisp/
|