Merge pull request #36 from dcornejo/master
Makefile in util directory didn't use LDFLAGS when building binaries
This commit is contained in:
commit
4daafd1650
1 changed files with 4 additions and 4 deletions
|
|
@ -80,16 +80,16 @@ clean:
|
||||||
|
|
||||||
# APPS
|
# APPS
|
||||||
clixon_util_xml: clixon_util_xml.c $(MYLIB)
|
clixon_util_xml: clixon_util_xml.c $(MYLIB)
|
||||||
$(CC) $(INCLUDES) $(CPPFLAGS) $(CFLAGS) $^ $(LIBS) -o $@
|
$(CC) $(INCLUDES) $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) $^ $(LIBS) -o $@
|
||||||
|
|
||||||
clixon_util_json: clixon_util_json.c $(MYLIB)
|
clixon_util_json: clixon_util_json.c $(MYLIB)
|
||||||
$(CC) $(INCLUDES) $(CPPFLAGS) $(CFLAGS) $^ $(LIBS) -o $@
|
$(CC) $(INCLUDES) $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) $^ $(LIBS) -o $@
|
||||||
|
|
||||||
clixon_util_yang: clixon_util_yang.c $(MYLIB)
|
clixon_util_yang: clixon_util_yang.c $(MYLIB)
|
||||||
$(CC) $(INCLUDES) $(CPPFLAGS) $(CFLAGS) $^ $(LIBS) -o $@
|
$(CC) $(INCLUDES) $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) $^ $(LIBS) -o $@
|
||||||
|
|
||||||
clixon_util_xpath: clixon_util_xpath.c $(MYLIB)
|
clixon_util_xpath: clixon_util_xpath.c $(MYLIB)
|
||||||
$(CC) $(INCLUDES) $(CPPFLAGS) @CFLAGS@ $^ $(LIBS) -o $@
|
$(CC) $(INCLUDES) $(CPPFLAGS) @CFLAGS@ $(LDFLAGS) $^ $(LIBS) -o $@
|
||||||
|
|
||||||
distclean: clean
|
distclean: clean
|
||||||
rm -f Makefile *~ .depend
|
rm -f Makefile *~ .depend
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue