blob: 926a1519eb0dc08251716271b4565235bf3c776b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
--- Makefile.orig 2008-05-05 07:51:22.000000000 +0200
+++ Makefile 2008-05-31 02:28:31.000000000 +0200
@@ -318,19 +318,11 @@
shared : intro $(shared_objects)
libgoblin.$(so_suffix) : $(lib_objects) $(shell_objects)
-ifeq ($(CC),gcc)
$(LD) -shared -Wl,-soname,$@ -o $@ $^ $(LDFLAGS) $(LIBS)
-else
- $(LD) -G -o $@ $^ $(LDFLAGS) $(LIBS)
-endif
@echo "...Shared object ($@) has been successfully linked"
libglpk.$(so_suffix) : $(glpk_objects) $(wrap_objects)
-ifeq ($(CC),gcc)
$(LD) -shared -Wl,-soname,$@ -o $@ $(shell_objects) $^ -L. $(LDFLAGS) $(LIBS) -lgoblin
-else
- $(LD) -G -o $@ $(shell_objects) $^ -L. $(LDFLAGS) $(LIBS) -lgoblin
-endif
@echo "...Shared object ($@) has been successfully linked"
@@ -349,11 +341,7 @@
else
gosh : $(gosh_objects) $(shared_objects)
-ifeq ($(CC),gcc)
$(LD) -o $@ $(gosh_objects) -L. $(LDFLAGS) -lgoblin $(glpk) $(LIBS)
-else
- $(LD) -G -o $@ $(gosh_objects) -L. $(LDFLAGS) -lgoblin $(glpk) $(LIBS)
-endif
@echo "...Shell tool ($@) has been linked with shared object"
endif
|