mirror of https://github.com/dirtbags/moth.git
Hackin' on the dillo
This commit is contained in:
parent
d429727070
commit
49f104fbee
|
@ -1,12 +1,11 @@
|
||||||
CFLAGS = -Wall -Werror
|
CFLAGS = -Wall -Werror
|
||||||
TARGETS = gimmie straceme killme
|
TARGETS = gimmie straceme killme dillo
|
||||||
|
|
||||||
all: build
|
all: build
|
||||||
|
|
||||||
build: $(TARGETS)
|
build: $(TARGETS)
|
||||||
|
|
||||||
gimmie: gimmie.o token.o arc4.o
|
gimmie: gimmie.o token.o arc4.o
|
||||||
octopus: octopus.o token.o arc4.o
|
|
||||||
straceme: straceme.o token.o arc4.o
|
straceme: straceme.o token.o arc4.o
|
||||||
killme: killme.o token.o arc4.o
|
killme: killme.o token.o arc4.o
|
||||||
dillo: dillo.o token.o arc4.o
|
dillo: dillo.o token.o arc4.o
|
||||||
|
@ -15,4 +14,4 @@ install: $(TARGETS)
|
||||||
install -m 0755 $(TARGETS) $(DESTDIR)/bin
|
install -m 0755 $(TARGETS) $(DESTDIR)/bin
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -f *.o $(TARGETS)
|
rm -f *.o $(TARGETS)
|
||||||
|
|
|
@ -30,7 +30,7 @@ main(int argc, char *argv[])
|
||||||
|
|
||||||
/* Print the dillo */
|
/* Print the dillo */
|
||||||
for (i = 0; dillo[i]; i += 1) {
|
for (i = 0; dillo[i]; i += 1) {
|
||||||
struct timespec req = {0, 33000000};
|
struct timespec req = {0, 33333333};
|
||||||
uint8_t c = dillo[i];
|
uint8_t c = dillo[i];
|
||||||
|
|
||||||
if ('\n' != c) {
|
if ('\n' != c) {
|
||||||
|
|
Loading…
Reference in New Issue