diff options
| author | Darell Tan <darell.tan@gmail.com> | 2011-01-02 21:59:01 +0800 |
|---|---|---|
| committer | Darell Tan <darell.tan@gmail.com> | 2011-01-02 21:59:01 +0800 |
| commit | 90b65fa827f95fa93446e604a449be05e64ae2b5 (patch) | |
| tree | 9e0608af81c26af09c47c196a1c69f85a478951a | |
| parent | 60a6c72901bcfdcbee9aed0b507b6328f7293a6e (diff) | |
| download | mdns-repeater-90b65fa827f95fa93446e604a449be05e64ae2b5.tar.gz mdns-repeater-90b65fa827f95fa93446e604a449be05e64ae2b5.zip | |
Added Makefile rules to compile debug builds more easily.
| -rw-r--r-- | Makefile | 10 |
1 files changed, 8 insertions, 2 deletions
@@ -1,7 +1,13 @@ # Makefile for mdns-repeater -CFLAGS=-Wall -Os -LDFLAGS=-s +CFLAGS=-Wall + +ifdef DEBUG +CFLAGS+= -g +else +CFLAGS+= -Os +LDFLAGS+= -s +endif .PHONY: all clean |
