Organization, ignore binaries

This commit is contained in:
2021-12-22 10:08:37 -06:00
parent dc7c3666aa
commit 0accce69f1
8 changed files with 18 additions and 9 deletions

View File

@@ -1,10 +1,7 @@
CC = g++
CFLAGS = -g
all: storybook
storybook: main.c cyoa.c
$(CC) $(CFLAGS) main.c -o storybook
cyoa.c: cyoa.leg
leg -o $@ $^
storybook:
$(MAKE) -C src storybook
cp src/storybook storybook
clean:
rm -f cyoa.c cyoa storybook
rm -f storybook
$(MAKE) -C src clean