Skip to content
This repository has been archived by the owner on Jun 28, 2019. It is now read-only.

Commit

Permalink
exercise: 9.20: Makefile: 使用变量
Browse files Browse the repository at this point in the history
  • Loading branch information
mofaph committed Jul 22, 2013
1 parent 11959bf commit f89d9c3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions exercise/ex9-20/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,10 @@ TAGS:
find . \( -type d -name .git -prune \) -o \( -type f -name "*.[ch]" \) | xargs etags -

ex9-20: ex9-20.o t9-20.o
gcc -Wall $^ -o $@
$(CC) $(CFLAGS) $^ -o $@

tm: t-malloc.o
gcc -Wall $^ -o $@
$(CC) $(CFLAGS) $^ -o $@

clean:
rm -f $(OBJS) ex9-20 tm TAGS

0 comments on commit f89d9c3

Please sign in to comment.