Skip to content

Commit

Permalink
Readme and makefiles for rust/2opt
Browse files Browse the repository at this point in the history
  • Loading branch information
kshitijmd committed May 10, 2016
1 parent e4a8921 commit ad3c04b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion rust/2opt/Makefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
SRC:=2opt.rs
OBJ:=2opt
EXTENSION:=.tsp
RUNCMD:=./2opt $(RUNFLAGS) $(TEST_FILE)$(EXTENSION)


# Optional: For array output, add -printarray to RUNFLAGS
# RUNFLAGS:=-printarray
Expand Down
2 changes: 2 additions & 0 deletions rust/Rules.mk
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
CC:=rustc

RUNCMD:=./$(OBJ) $(RUNFLAGS) $(TEST_FILE)$(EXTENSION)
# In order to allow multiple extensions
# Effectively ovveride RUNCMD from Rules.mk in root.
# The run flags and testfile will be supplied twice but that doesn't matter
Expand Down

0 comments on commit ad3c04b

Please sign in to comment.