Interpreter now accepts bf-code as a file
This commit is contained in:
7
Makefile
7
Makefile
@@ -1,5 +1,5 @@
|
||||
CC=gcc
|
||||
CFLAGS=-std=c99 -Wall -O2 -static
|
||||
CFLAGS=-std=c99 -Wall -O2 -static -g
|
||||
CLIBS=-lm
|
||||
PRGNAME=bfckr
|
||||
CFILES=$(shell find . -name '*.c')
|
||||
@@ -7,8 +7,7 @@ HFILES=$(shell find . -name '*.h')
|
||||
STYLE=astyle --style=1tbs
|
||||
RUN=valgrind --leak-check=full
|
||||
DEBUG=gdb --args
|
||||
ARGS="++++++++++[>+++++++>++++++++++>+++>+<<<<-]>++.>+.+++++++..+++.>++.<<+++++++++++++++.>.+++.------.--------.>+.>."
|
||||
|
||||
ARGS="examples/hello.bf"
|
||||
|
||||
all: build run
|
||||
|
||||
@@ -23,4 +22,4 @@ run:
|
||||
memtest:
|
||||
$(RUN) ./$(PRGNAME) $(ARGS)
|
||||
debug:
|
||||
$(DEBUG) ./$(PRGNAME)
|
||||
$(DEBUG) ./$(PRGNAME) $(ARGS)
|
||||
|
||||
Reference in New Issue
Block a user