aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index b1d8597..581dc1a 100644
--- a/Makefile
+++ b/Makefile
@@ -52,6 +52,12 @@ tests: $(BIN)
52 # ./$(BIN) examples/types.bdl | diff tests/types_expected.txt - 52 # ./$(BIN) examples/types.bdl | diff tests/types_expected.txt -
53 # ./$(BIN) examples/variables.bdl | diff tests/variables_expected.txt - 53 # ./$(BIN) examples/variables.bdl | diff tests/variables_expected.txt -
54 54
55run: $(BIN)
56 $(BIN) example.bdl > build/example.asm
57 nasm -felf64 build/example.asm -o build/example.o
58 ld build/example.o -o build/example
59 @./build/example
60
55# Remove build directory. 61# Remove build directory.
56clean: 62clean:
57 rm -rf $(BUILD_DIR) 63 rm -rf $(BUILD_DIR)