Skip to content

Commit

Permalink
all: avoid using global variables.
Browse files Browse the repository at this point in the history
  • Loading branch information
v420v committed Jul 2, 2023
1 parent 774596f commit 57fa69d
Show file tree
Hide file tree
Showing 14 changed files with 13,745 additions and 14,668 deletions.
5 changes: 4 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@

build:
v . -prod -enable-globals
v . -prod

dev:
v .

clean:
rm *.o *.out ./vas examples/*.o selfhost/*.o
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ _start:
## Build

```sh
$ v . -prod -enable-globals
$ v . -prod
```

## Run
Expand All @@ -58,7 +58,7 @@ $ ./a.out

```
# build
$ v . -prod -enable-globals
$ v . -prod
$ cd selfhost
$ ../vas -o v2.o vas.s
Expand Down
Loading

0 comments on commit 57fa69d

Please sign in to comment.