mirror of
https://github.com/nineties/planckforth
synced 2024-12-25 21:58:22 +01:00
19 lines
285 B
Makefile
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
|