planckforth/Makefile
2021-01-05 12:06:53 +09:00

19 lines
285 B
Makefile

# planckforth -
# Copyright (C) 2021 nineties
default: x86hex
x86hex: planck.xxd
xxd -r -c 8 $< > planck
chmod +x planck
c: others/planck.c
gcc -Wall -O2 $< -o planck
python: others/planck.py
ln -s others/planck.py planck
chmod +x planck
.PHONY: clean
clean:
rm -f planck