Skip to content

Commit

Permalink
add bringris to Makefile and mymake
Browse files Browse the repository at this point in the history
- add bringris entry to Makefile.simple
- add -bringris option to mymake
  • Loading branch information
still-flow committed Nov 2, 2020
1 parent 2e236be commit a0b21ab
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Makefile.simple
Original file line number Diff line number Diff line change
Expand Up @@ -171,6 +171,9 @@ emscripten: hyper.html

hyper.emscripten-sources: *.cpp autohdr.h

bringris$(EXE_EXTENSION): autohdr.h
$(CXX) $(CXXFLAGS) -Wno-error -DBRINGRIS rogueviz/bringris.cpp $(LDFLAGS) $(hyper_LDFLAGS) -o $@

.PHONY: clean

clean:
Expand Down
4 changes: 4 additions & 0 deletions mymake.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,10 @@ int main(int argc, char **argv) {
obj_dir += "/web";
setdir += "../";
}
else if(s == "-bringris") {
modules.push_back("rogueviz/bringris");
modules.push_back("rogueviz/subquotient");
}
else if(s.substr(0, 2) == "-f") {
opts += " " + s;
obj_dir += "/";
Expand Down

0 comments on commit a0b21ab

Please sign in to comment.