Merge branch 'retval' into overgrown
This commit is contained in:
7
Makefile
7
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 pschdir rpn scrut str strcmp swab true
|
||||
all: dj false fop hru intcmp mm npc pschdir retval rpn scrut str strcmp swab true
|
||||
|
||||
# keep build/include until bindgen(1) has stdin support
|
||||
# https://github.com/rust-lang/rust-bindgen/issues/2703
|
||||
@@ -127,6 +127,11 @@ pschdir: build/bin/pschdir
|
||||
build/bin/pschdir: src/pschdir.c build
|
||||
$(CC) $(CFLAGS) -o $@ src/pschdir.c
|
||||
|
||||
.PHONY: retval
|
||||
retval: build/bin/retval
|
||||
build/bin/retval: src/retval.rs build rustlibs
|
||||
$(RUSTC) $(RUSTFLAGS) $(RUSTLIBS) -o $@ src/retval.rs
|
||||
|
||||
.PHONY: rpn
|
||||
rpn: build/bin/rpn
|
||||
build/bin/rpn: src/rpn.rs build rustlibs
|
||||
|
||||
Reference in New Issue
Block a user