diff --git a/Makefile b/Makefile index 78750ad..5066bec 100644 --- a/Makefile +++ b/Makefile @@ -32,7 +32,7 @@ RUSTLIBS = --extern getopt=build/o/libgetopt.rlib \ CFLAGS += -I$(SYSEXITS) .PHONY: all -all: dj false fop hru intcmp mm npc rpn scrut str strcmp swab true +all: dj false fop hru intcmp mm npc rpn run scrut str strcmp swab true # keep build/include until bindgen(1) has stdin support # https://github.com/rust-lang/rust-bindgen/issues/2703 @@ -122,26 +122,21 @@ npc: build/bin/npc build/bin/npc: src/npc.c build $(CC) $(CFLAGAS) -o $@ src/npc.c -.PHONY: pschdir -pschdir: build/bin/pschdir -build/bin/pschdir: src/pschdir.rs build - $(RUSTC) $(RUSTFLAGS) $(RUSTLIBS) -o $@ src/pschdir.rs - .PHONY: rpn rpn: build/bin/rpn build/bin/rpn: src/rpn.rs build rustlibs $(RUSTC) $(RUSTFLAGS) $(RUSTLIBS) -o $@ src/rpn.rs +.PHONY: run +run: build/bin/run +build/bin/run: src/run.rs build + $(RUSTC) $(RUSTFLAGS) $(RUSTLIBS) -o $@ src/run.rs + .PHONY: scrut scrut: build/bin/scrut build/bin/scrut: src/scrut.c build $(CC) $(CFLAGS) -o $@ src/scrut.c -.PHONY: simexec -simexec: build/bin/simexec -build/bin/simexec: src/simexec.rs build - $(RUSTC) $(RUSTFLAGS) $(RUSTLIBS) -o $@ src/simexec.rs - .PHONY: str str: build/bin/str build/bin/str: src/str.c build diff --git a/src/simexec.rs b/src/run.rs similarity index 100% rename from src/simexec.rs rename to src/run.rs