~mdw
/
rocl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Found in crybaby's working tree.
[rocl]
/
Makefile
diff --git
a/Makefile
b/Makefile
index
b6f6d71
..
54ae449
100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-7,7
+7,7
@@
# --- Compiling and linking ---
CC = gcc
# --- Compiling and linking ---
CC = gcc
-INCLUDES =
+INCLUDES =
CFLAGS = \
-O2 -g -pedantic -Wall -funroll-loops -fomit-frame-pointer \
$(INCLUDES)
CFLAGS = \
-O2 -g -pedantic -Wall -funroll-loops -fomit-frame-pointer \
$(INCLUDES)
@@
-27,7
+27,7
@@
RM = rm
#----- Main machinery -------------------------------------------------------
#
#----- Main machinery -------------------------------------------------------
#
-# Shouldn't need to fiddle with thi
i
s stuff.
+# Shouldn't need to fiddle with this stuff.
PACKAGE = rocl
VERSION = 1.1.5
PACKAGE = rocl
VERSION = 1.1.5
@@
-47,15
+47,17
@@
elite.so: elite.o
$(LD) $(LDFLAGS) elite.o -o elite.so
vec.so: vec.o
$(LD) $(LDFLAGS) vec.o -o vec.so
$(LD) $(LDFLAGS) elite.o -o elite.so
vec.so: vec.o
$(LD) $(LDFLAGS) vec.o -o vec.so
-graph.so: graph.o
- $(LD) $(LDFLAGS)
graph.
o -o graph.so
+graph.so: graph.o
vec.so
+ $(LD) $(LDFLAGS)
-Wl,-rpath,$(pkglibdir) graph.o vec.s
o -o graph.so
graph.o vec.o: vec.h
.SUFFIXES: .c .o
.c.o:; $(CC) -c $(CFLAGS) -o $@ $<
pkgIndex.tcl: $(PKGFILES)
graph.o vec.o: vec.h
.SUFFIXES: .c .o
.c.o:; $(CC) -c $(CFLAGS) -o $@ $<
pkgIndex.tcl: $(PKGFILES)
- echo "pkg_mkIndex -verbose -direct -load Vec . $(PKGFILES) " | tclsh
+ LD_LIBRARY_PATH=$$(pwd) \
+ echo "pkg_mkIndex -verbose -direct -load Vec . $(PKGFILES) " | \
+ tclsh
install: all
$(INSTALL) -d $(INST)$(bindir) $(INST)$(pkglibdir)
install: all
$(INSTALL) -d $(INST)$(bindir) $(INST)$(pkglibdir)