Implement print() and println() in Go

This commit is contained in:
Ayke van Laethem
2018-04-20 16:32:40 +02:00
parent ff9e7a8b77
commit 45e7376f39
4 changed files with 48 additions and 43 deletions
+1 -1
View File
@@ -12,7 +12,7 @@ build/tgo: *.go
@mkdir -p build
@go build -o build/tgo -i .
build/hello.o: build/tgo src/examples/hello/*.go
build/hello.o: build/tgo src/examples/hello/*.go src/runtime/*.go
@./build/tgo -printir -o build/hello.o examples/hello
build/runtime.o: src/runtime/*.c src/runtime/*.h