mirror of
https://github.com/nineties/planckforth
synced 2024-12-26 21:58:42 +01:00
minor fix
This commit is contained in:
parent
29737b6c16
commit
8a5311f2e3
2 changed files with 3 additions and 2 deletions
2
Makefile
2
Makefile
|
@ -8,7 +8,7 @@ i386-linux-handwrite: planck.xxd
|
|||
chmod +x planck
|
||||
|
||||
c: others/planck.c
|
||||
gcc -Wall -O2 $< -o planck -DCOMPILER="\"`gcc --version | head -n1`\""
|
||||
gcc -Wall -O2 $< -o planck -DCOMPILER="$(shell gcc --version | head -n1)"
|
||||
|
||||
python: others/planck.py
|
||||
cp others/planck.py planck
|
||||
|
|
|
@ -14,7 +14,8 @@
|
|||
#include <unistd.h>
|
||||
|
||||
#define COPYRIGHT "Copyright (c) 2021 Koichi Nakamura <koichi@idein.jp>"
|
||||
#define RUNTIME_NAME COMPILER
|
||||
#define STRINGIFY(s) #s
|
||||
#define RUNTIME_NAME STRINGIFY(COMPILER)
|
||||
|
||||
#define VERSION RUNTIME_NAME ":" COPYRIGHT
|
||||
|
||||
|
|
Loading…
Reference in a new issue