Add the ability to read from a file, move to own directory

This commit is contained in:
2021-12-22 10:02:23 -06:00
parent 28ac6d8331
commit dc7c3666aa
4 changed files with 27 additions and 27 deletions

View File

@@ -1,9 +1,10 @@
CC = g++
CFLAGS = -g
all: cyoa
cyoa: cyoa.c
all: storybook
storybook: main.c cyoa.c
$(CC) $(CFLAGS) main.c -o storybook
cyoa.c: cyoa.leg
leg -o $@ $^
clean:
rm -f cyoa.c cyoa
rm -f cyoa.c cyoa storybook