Improve how to redefine size in 1985/shapiro
Now one can just do:
make clobber SIZE=5 alt
for example. This is done through a Makefile variable.
This commit is contained in:
1 parent
e8ad7a89f5
commit
8f4f9a650a
3 files changed
+10
-6
No files matched your search
@@ -5,7 +5,7 @@ make all
|
||||
```
|
||||
|
||||
There is alternate code which allows one to change the size of the maze. See
|
||||
[alternate code](#alternate-code) below.
|
||||
[Alternate code](#alternate-code) below.
|
||||
|
||||
|
||||
### To run:
|
||||
@@ -32,7 +32,7 @@ make alt
|
||||
If you wish to change the value you can do it like:
|
||||
|
||||
```sh
|
||||
make clobber CDEFINE="-DC=5" alt
|
||||
make clobber SIZE=5 alt
|
||||
```
|
||||
|
||||
Note that if it is not a number then obviously there will be a compilation
|
||||
|
||||
Reference in new issue
Block a user