aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 2 insertions, 5 deletions
diff --git a/Makefile b/Makefile
index cdb8c93..4e31a67 100644
--- a/Makefile
+++ b/Makefile
@@ -20,7 +20,7 @@ CFLAGS += $(INC_FLAGS)
20NASM_FLAGS ?= -felf64 20NASM_FLAGS ?= -felf64
21LDFLAGS := 21LDFLAGS :=
22LDLIBS := 22LDLIBS :=
23RELEASE_CFLAGS := -DNDEBUG -O2 -static 23RELEASE_CFLAGS := -DNDEBUG -O2
24DEBUG_CFLAGS := -DDEBUG -O0 -g 24DEBUG_CFLAGS := -DDEBUG -O0 -g
25 25
26.PHONY: build tests clean 26.PHONY: build tests clean
@@ -56,10 +56,7 @@ tests: $(BIN)
56 # ./$(BIN) examples/variables.bdl | diff tests/variables_expected.txt - 56 # ./$(BIN) examples/variables.bdl | diff tests/variables_expected.txt -
57 57
58run: $(BIN) 58run: $(BIN)
59 $(BIN) example.bdl > build/example.asm 59 $(BIN) example.bdl
60 nasm $(NASM_FLAGS) build/example.asm -o build/example.o
61 ld build/example.o -o build/example
62 @./build/example
63 60
64# Remove build directory. 61# Remove build directory.
65clean: 62clean: