LDFLAGS
This commit is contained in:
parent
f5250b136c
commit
2e09f54d12
3 changed files with 3 additions and 3 deletions
|
|
@ -127,7 +127,7 @@ $(APPL): $(OBJS) $(MYLIBLINK) $(LIBDEPS)
|
||||||
$(CC) $(LDFLAGS) $(OBJS) -L. -l:$(MYLIB) $(LIBS) -o $@
|
$(CC) $(LDFLAGS) $(OBJS) -L. -l:$(MYLIB) $(LIBS) -o $@
|
||||||
|
|
||||||
$(MYLIB) : $(LIBOBJS)
|
$(MYLIB) : $(LIBOBJS)
|
||||||
$(CC) -shared -Wl,-soname,$(MYLIBSO) -o $@ $(LIBOBJS) $(LIBS) -Wl,-soname=$(MYLIBSO)
|
$(CC) $(LDFLAGS) -shared -Wl,-soname,$(MYLIBSO) -o $@ $(LIBOBJS) $(LIBS) -Wl,-soname=$(MYLIBSO)
|
||||||
|
|
||||||
# link-name is needed for application linking, eg for clixon_cli and clixon_config
|
# link-name is needed for application linking, eg for clixon_cli and clixon_config
|
||||||
$(MYLIBLINK) : $(MYLIB)
|
$(MYLIBLINK) : $(MYLIB)
|
||||||
|
|
|
||||||
|
|
@ -115,7 +115,7 @@ $(APPL) : $(OBJS) $(MYLIBLINK) $(LIBDEPS)
|
||||||
$(CC) $(LDFLAGS) $(OBJS) -L. -l:$(MYLIB) $(LIBS) -o $@
|
$(CC) $(LDFLAGS) $(OBJS) -L. -l:$(MYLIB) $(LIBS) -o $@
|
||||||
|
|
||||||
$(MYLIB) : $(LIBOBJS)
|
$(MYLIB) : $(LIBOBJS)
|
||||||
$(CC) -shared -Wl,-soname,$(MYLIBSO) -o $@ $(LIBOBJS) $(LIBS) -Wl,-soname=$(MYLIBSO)
|
$(CC) $(LDFLAGS) -shared -Wl,-soname,$(MYLIBSO) -o $@ $(LIBOBJS) $(LIBS) -Wl,-soname=$(MYLIBSO)
|
||||||
|
|
||||||
# link-name is needed for application linking, eg for clixon_cli and clixon_config
|
# link-name is needed for application linking, eg for clixon_cli and clixon_config
|
||||||
$(MYLIBLINK) : $(MYLIB)
|
$(MYLIBLINK) : $(MYLIB)
|
||||||
|
|
|
||||||
|
|
@ -164,7 +164,7 @@ build.c:
|
||||||
|
|
||||||
|
|
||||||
$(MYLIB) : $(GENOBJS) $(OBJS)
|
$(MYLIB) : $(GENOBJS) $(OBJS)
|
||||||
$(CC) -shared -Wl,-soname,$(MYLIBSO) -o $@ $(GENOBJS) $(OBJS) $(LIBS) -Wl,-soname=$(MYLIBSO)
|
$(CC) $(LDFLAGS) -shared -Wl,-soname,$(MYLIBSO) -o $@ $(GENOBJS) $(OBJS) $(LIBS) -Wl,-soname=$(MYLIBSO)
|
||||||
# link-name is needed for application linking, eg for clixon_cli and clixon_config
|
# link-name is needed for application linking, eg for clixon_cli and clixon_config
|
||||||
$(MYLIBLINK) : $(MYLIB)
|
$(MYLIBLINK) : $(MYLIB)
|
||||||
# ln -sf $(MYLIB) $@
|
# ln -sf $(MYLIB) $@
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue