summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKai-Uwe Behrmann <ku.b@gmx.de>2010-01-07 10:19:08 -0500
committerAdam Jackson <ajax@redhat.com>2010-01-07 10:19:08 -0500
commit293fb54d55fb835aa18bbb380fa8f68877dbd5a8 (patch)
treeb78a3c1b1890ba959395b8e332fbd7fbad395067
parentc5fc24154d10359ea220f75b027b35ab2cc4371a (diff)
Add $CFLAGS and $LDFLAGS to Makefile
Signed-off-by: Adam Jackson <ajax@redhat.com>
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index ef62b53..623a28d 100644
--- a/Makefile
+++ b/Makefile
@@ -14,10 +14,10 @@ clean:
rm -f $(objects)
.c.o:
- gcc -fPIC -c -Wall -o $@ $<
+ gcc $(CFLAGS) -fPIC -c -Wall -o $@ $<
$(sources): minitru-int.h
minitru-int.h: minitru.h
libminitru.so.0: $(sources:.c=.o)
- gcc -shared -Wl,-soname,$@ -o $@ $^ -lm
+ gcc $(LDFLAGS) -shared -Wl,-soname,$@ -o $@ $^ -lm