diff options
author | Aaron Ball <nullspoon@oper.io> | 2023-03-02 23:06:40 -0700 |
---|---|---|
committer | Aaron Ball <nullspoon@oper.io> | 2023-03-02 23:08:51 -0700 |
commit | 7e3039e76a49c8231627e9e33d76ed8bf043a8d2 (patch) | |
tree | 861980bdc2fd17c33ffac14dd545c2388d7d2cca | |
parent | 3dc64d80d7c1f1a0475665e0cdcefe2eff9b3036 (diff) | |
download | leak-utils-7e3039e76a49c8231627e9e33d76ed8bf043a8d2.tar.gz leak-utils-7e3039e76a49c8231627e9e33d76ed8bf043a8d2.tar.xz |
This renames the targets so they don't conflict after the targets are
built. This also adds CCOPTS so compile arguments are centralized.
-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 |