diff options
-rw-r--r-- | Makefile | 15 |
1 files changed, 8 insertions, 7 deletions
@@ -1,13 +1,14 @@ -all: memleak balloon +CCOPTS = -std=gnu99 -O2 -Wall +all: _memleak _balloon _fdleak clean: rm -vf memleak balloon fdleak -memleak: - cc --std=gnu99 -O2 -Wall src/memleak.c -o memleak +_memleak: + cc $(CCOPTS) src/memleak.c -o memleak -balloon: - cc --std=gnu99 -O2 -Wall src/balloon.c -o balloon +_balloon: + cc $(CCOPTS) src/balloon.c -o balloon -fdleak: - cc --std=gnu99 -O2 -Wall src/fdleak.c -o fdleak +_fdleak: + cc $(CCOPTS) src/fdleak.c -o fdleak |