Skip to content

Commit

Permalink
Makefile tracks changes in header file(s)
Browse files Browse the repository at this point in the history
  • Loading branch information
davidfoerster committed Aug 15, 2014
1 parent bcd41e5 commit d0521d6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ LIBS = -ldl

all: writeWav.so

writeWav.so: writeWav.c support.c | support.h
${CC} ${CPPFLAGS} ${CFLAGS} ${LDFLAGS} ${LIBS} -o $@ $^
writeWav.so: writeWav.c support.h support.c
${CC} ${CPPFLAGS} ${CFLAGS} ${LDFLAGS} ${LIBS} -o $@ $(filter-out %.h,$^)

clean:
rm -f writeWav.so writeWav.o support.o
Expand Down

0 comments on commit d0521d6

Please sign in to comment.