aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index a35f3d7..6323a21 100644
--- a/Makefile
+++ b/Makefile
@@ -7,7 +7,8 @@ db:
gdb cibic
cibic: lex.yy.o cibic.tab.o ast.o main.o semantics.o
- gcc -o cibic lex.yy.o cibic.tab.o ast.o main.o semantics.o
+ mkdir -p bin
+ gcc -o bin/cibic lex.yy.o cibic.tab.o ast.o main.o semantics.o
lex.yy.o: lex.yy.c cibic.tab.c
gcc -c lex.yy.c
cibic.tab.o: cibic.tab.c