Revision 200,
911 bytes
checked in by marcus, 14 years ago
(diff) |
r117 | klaus | 2010-03-29 20:46:24 +0200 (Mo, 29 Mär 2010) | 1 line
added -fPIC to a number of Makfiles
|
Line | |
---|
1 | # file Makefile |
---|
2 | # ======== |
---|
3 | # |
---|
4 | # version 11, 4-Aug-2000 |
---|
5 | # |
---|
6 | # Makefile of directory $SH_SOURCE/newgraph |
---|
7 | # K. Stammler, 7-Mar-95 |
---|
8 | |
---|
9 | #CFLAGS = $(SH_CCOPTIONS) -I$(SH_SOURCE) -I$(SH_UTIL) -I$(SH_SOURCE)/newgraph -I$(SH_SOURCE)/foreign -DBASECNST=\"basecnst.h\" |
---|
10 | CFLAGS = $(SH_CCOPTIONS) -fPIC -I$(SH_SOURCE) -I$(SH_SOURCE)/newgraph -I$(SH_SOURCE)/foreign -DBASECNST=\"basecnst.h\" |
---|
11 | CC = $(SH_COMPILER) |
---|
12 | LD = $(SH_COMPILER) |
---|
13 | RANLIB = $(SH_RANLIB) |
---|
14 | LDFLAGS = -L/usr/local/X11/lib |
---|
15 | LIBS = -lsource -lm -lX |
---|
16 | LIB_GRAPH = $(SH_LIB)libgraph.a |
---|
17 | |
---|
18 | LOCAL_SRCS = graphch.c hpch.c memch.c memfile.c psch.c xwch.c |
---|
19 | #LOCAL_OBJS = $(LOCAL_SRCS:%.c=%.o) |
---|
20 | LOCAL_OBJS = $(LOCAL_SRCS:.c=.o) |
---|
21 | |
---|
22 | all: |
---|
23 | make $(LIB_GRAPH) |
---|
24 | |
---|
25 | $(LIB_GRAPH): $(LOCAL_OBJS) |
---|
26 | ar r $@ $(LOCAL_OBJS); $(RANLIB) $@ |
---|
27 | |
---|
28 | |
---|
29 | clean: |
---|
30 | @rm $(LOCAL_OBJS) *% |
---|
31 | |
---|
32 | |
---|
33 | depend: |
---|
34 | makedepend -s "# DO NOT DELETE" -- $(CFLAGS) -- $(LOCAL_SRCS) |
---|
35 | |
---|
36 | |
---|
37 | # DO NOT DELETE |
---|
38 | |
---|
Note: See
TracBrowser
for help on using the repository browser.