diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..0d645b7 --- /dev/null +++ b/.gitignore @@ -0,0 +1,3 @@ +main +bff +*.o diff --git a/Makefile b/Makefile index a57f52c..cdcfad7 100644 --- a/Makefile +++ b/Makefile @@ -2,19 +2,16 @@ CC = gcc CFLAGS = -g -Wall -all: main +all: bff %.o: %.c $(CC) $(CFLAGS) -c -o $@ $< -main: main.o +bff: main.o $(CC) $(CFLAGS) -o $@ $+ clean: rm -f *.o core.* mrproper: clean - rm -f main - -run: main - ./$< ./hello_world.bf + rm -f bff