cleaning up gitignore and Makefile so that they don't have to be updated every time a new .c file is added

This commit is contained in:
Dan Buch 2011-09-10 01:15:38 -04:00
parent 7cb0c4aab5
commit 5f06f804b1
2 changed files with 7 additions and 11 deletions

16
.gitignore vendored
View File

@ -1,10 +1,6 @@
ex1 *
ex3
ex4 !*.c
ex5 !Makefile
ex6 !README.md
ex7 !*.py
ex8
ex9
ex10
ex11

View File

@ -1,6 +1,6 @@
CFLAGS=-Wall -g CFLAGS=-Wall -g
EXERCISES = ex1 ex3 ex4 ex5 ex6 ex7 ex8 ex9 ex10 ex11 EXERCISES = $(patsubst %.c,%,$(shell ls ex*.c))
all: $(EXERCISES) all: $(EXERCISES)