summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authormassiot <massiot@271ca591-50e6-457e-a4d7-9fbfa1de8f49>2010-03-01 14:36:35 +0100
committermassiot <massiot@271ca591-50e6-457e-a4d7-9fbfa1de8f49>2010-03-01 14:36:35 +0100
commit632f5494c84f59c88cc3d7a6a243d5e9d0ace22f (patch)
tree00e4456d75d1929be632e0eb487c2857caa28871 /Makefile
parent82ff6684537723bae9fd3b5b862ade2f2fa4e33e (diff)
downloadmulticat-632f5494c84f59c88cc3d7a6a243d5e9d0ace22f.tar
multicat-632f5494c84f59c88cc3d7a6a243d5e9d0ace22f.zip
* Makefile: change LDFLAGS into LDLIBS to avoid problems with some linkers.
git-svn-id: svn://svn.videolan.org/multicat/trunk@7 271ca591-50e6-457e-a4d7-9fbfa1de8f49
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile10
1 files changed, 5 insertions, 5 deletions
diff --git a/Makefile b/Makefile
index 88faa02..a23ba33 100644
--- a/Makefile
+++ b/Makefile
@@ -2,7 +2,7 @@
CFLAGS += -Wall -O3 -fomit-frame-pointer -D_FILE_OFFSET_BITS=64 -D_ISOC99_SOURCE -D_BSD_SOURCE
CFLAGS += -g
-LDFLAGS += -lrt
+LDLIBS += -lrt
OBJ_MULTICAT = multicat.o util.o
OBJ_INGESTS = ingests.o util.o
@@ -23,16 +23,16 @@ $(OBJ_DESAGGREGARTP): Makefile util.h
$(OBJ_OFFSETS): Makefile
multicat: $(OBJ_MULTICAT)
- $(CC) $(LDFLAGS) -o $@ $(OBJ_MULTICAT)
+ $(CC) $(LDLIBS) -o $@ $(OBJ_MULTICAT)
ingests: $(OBJ_INGESTS)
- $(CC) $(LDFLAGS) -o $@ $(OBJ_INGESTS)
+ $(CC) $(LDLIBS) -o $@ $(OBJ_INGESTS)
aggregartp: $(OBJ_AGGREGARTP)
- $(CC) $(LDFLAGS) -o $@ $(OBJ_AGGREGARTP)
+ $(CC) $(LDLIBS) -o $@ $(OBJ_AGGREGARTP)
desaggregartp: $(OBJ_DESAGGREGARTP)
- $(CC) $(LDFLAGS) -o $@ $(OBJ_DESAGGREGARTP)
+ $(CC) $(LDLIBS) -o $@ $(OBJ_DESAGGREGARTP)
offsets: $(OBJ_OFFSETS)
$(CC) -o $@ $(OBJ_OFFSETS)