repositories
/
TD_C.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
TP 11 exo1: permit to specify linker libs to all relevant target in the
[TD_C.git]
/
TP_11
/
exo1
/
Makefile
diff --git
a/TP_11/exo1/Makefile
b/TP_11/exo1/Makefile
index d287ee24f6754405c474aa6089686fe006cc09ab..f8cfee721cf62243e6263cfb66d819389fb05b80 100644
(file)
--- a/
TP_11/exo1/Makefile
+++ b/
TP_11/exo1/Makefile
@@
-64,7
+64,7
@@
$(LIBRARY_NAME).a: $(OBJSLIB)
$(LIBRARY_NAME).so: $(OBJSLIB)
@echo "[LD ShO] $@"
$(LIBRARY_NAME).so: $(OBJSLIB)
@echo "[LD ShO] $@"
- @$(LD) $(CFLAGS) $(LIBLDFLAGS) $^ -o $@
+ @$(LD) $(CFLAGS) $(LIBLDFLAGS) $^
$(LDLIBS)
-o $@
$(BINARY_NAME): $(OBJS)
@echo "[LD ] $@"
$(BINARY_NAME): $(OBJS)
@echo "[LD ] $@"