Compare commits

..

No commits in common. "master" and "v1.0" have entirely different histories.
master ... v1.0

7 changed files with 5 additions and 40 deletions

1
.gitignore vendored
View File

@ -1,2 +1,3 @@
main
bff
*.o

View File

@ -1,3 +0,0 @@
+++++++++[>++++++++++<-]>+++++
>>+++[<++++++++++>-]<+++
<[>.+<-]

View File

@ -1 +0,0 @@
>,[>,]<[<]>[.>]

View File

@ -1,21 +0,0 @@
>>>->+>+++++>(++++++++++)[[>>>+<<<-]>+++++>+>>+[<<+>>>>>+<<<-]<-]>>>>[
[>>>+>+<<<<-]+++>>+[<+>>>+>+<<<-]>>[>[[>>>+<<<-]<]<<++>+>>>>>>-]<-
]+++>+>[[-]<+<[>+++++++++++++++++<-]<+]>>[
[+++++++++.-------->>>]+[-<<<]>>>[>>,----------[>]<]<<[
<<<[
>--[<->>+>-<<-]<[[>>>]+>-[+>>+>-]+[<<<]<-]>++>[<+>-]
>[[>>>]+[<<<]>>>-]+[->>>]<-[++>]>[------<]>+++[<<<]>
]<
]>[
-[+>>+>-]+>>+>>>+>[<<<]>->+>[
>[->+>+++>>++[>>>]+++<<<++<<<++[>>>]>>>]<<<[>[>>>]+>>>]
<<<<<<<[<<++<+[-<<<+]->++>>>++>>>++<<<<]<<<+[-<<<+]+>->>->>
]<<+<<+<<<+<<-[+<+<<-]+<+[
->+>[-<-<<[<<<]>[>>[>>>]<<+<[<<<]>-]]
<[<[<[<<<]>+>>[>>>]<<-]<[<<<]]>>>->>>[>>>]+>
]>+[-<<[-]<]-[
[>>>]<[<<[<<<]>>>>>+>[>>>]<-]>>>[>[>>>]<<<<+>[<<<]>>-]>
]<<<<<<[---<-----[-[-[<->>+++<+++++++[-]]]]<+<+]>
]>>
]

View File

@ -1,26 +1,15 @@
.PHONY: clean, mrproper, uninstall, install
.PHONY: clean, mrproper
CC = gcc
CFLAGS = -g -Wall
LDFLAGS =
PREFIX = /usr/local
all: bff
bff.o: bff.c
%.o: %.c
$(CC) $(CFLAGS) -c -o $@ $<
bff: bff.o
bff: main.o
$(CC) $(CFLAGS) -o $@ $+
install: bff
mkdir -p $(DESTDIR)$(PREFIX)/bin
cp -f bff $(DESTDIR)$(PREFIX)/bin
chmod 755 $(DESTDIR)$(PREFIX)/bin/bff
uninstall:
rm -f $(DESTDIR)$(PREFIX)/bin/bff
clean:
rm -f *.o core.*

View File