Organization, ignore binaries
This commit is contained in:
13
Makefile
13
Makefile
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user