Skip to content

Commit

Permalink
single file
Browse files Browse the repository at this point in the history
  • Loading branch information
v420v committed Jul 22, 2024
1 parent 7395648 commit 327e66d
Show file tree
Hide file tree
Showing 10 changed files with 9,642 additions and 9,450 deletions.
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,13 @@ make:
ld -o ibuc bootstrap/ibu-linux-x86_x64.o lib/syscall-amd64.o

self:
./ibuc src/main.ibu | as - -o src/ibu.o
./ibuc src/ibu.ibu | as - -o src/ibu.o
as -o lib/syscall-amd64.o lib/syscall-amd64.s
ld -o ibuc src/ibu.o lib/syscall-amd64.o

update_bootstrap:
./ibuc src/main.ibu | as -
./ibuc src/main.ibu > bootstrap/ibu-linux-x86_x64.s
./ibuc src/ibu.ibu | as -
./ibuc src/ibu.ibu > bootstrap/ibu-linux-x86_x64.s

clean:
rm *.o *.out ibuc bootstrap/*.o src/*.o lib/*.o
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,7 @@ func main() i32 {
<a href="https://marketplace.visualstudio.com/items?itemName=ibuki.ibu">Visual Studio Code</a>

### Selfhosting
`make self` will compile `src/main.ibu` using the ./ibuc executable
`make self` will compile `src/ibu.ibu` using the ./ibuc executable
```sh

$ make self
Expand Down
Loading

0 comments on commit 327e66d

Please sign in to comment.