python-plus-plus/compile-expr/Makefile
2024-10-01 23:48:00 +10:00

8 lines
193 B
Makefile

expr: expr.o
ld expr.o -o expr -l System -syslibroot `xcrun -sdk macosx --show-sdk-path` -e main -arch arm64
expr.o: expr.s
as expr.s -o expr.o
expr.s: expr.ppp
./expr.py expr.ppp > expr.s