OSDN Git Service

Depend on the general def.txt file.
authorSimon Forman <sforman@hushmail.com>
Wed, 9 Mar 2022 20:40:02 +0000 (12:40 -0800)
committerSimon Forman <sforman@hushmail.com>
Wed, 9 Mar 2022 20:40:02 +0000 (12:40 -0800)
implementations/Nim/Makefile

index 756cec1..23c5cc9 100644 (file)
@@ -2,3 +2,7 @@ SOURCES = defs.nim joy.nim joylib.nim printer.nim reader.nim types.nim utils.nim
 
 joy: $(SOURCES) defs.txt
        nim c joy.nim
+
+defs.txt: ../defs.txt
+       cp -fv ../defs.txt defs.txt
+