source: SH_SHM/trunk/source/newgraph/Makefile @ 1237

Revision 358, 904 bytes checked in by marcus, 13 years ago (diff)

r192 | walther | 2011-03-31 17:30:28 +0200 (Do, 31 Mär 2011) | 4 lines

  • locsat and fk source may be defined at command line
  • replacing makedepend by gccmakedep (bug not fixed for 5 years in Xorg)
  • added include to sysbase.h for proper macro definition
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\"
10CFLAGS      = $(SH_CCOPTIONS) -fPIC -I$(SH_SOURCE) -I$(SH_SOURCE)/newgraph -I$(SH_SOURCE)/foreign -DBASECNST=\"basecnst.h\"
11CC          = $(SH_COMPILER)
12LD          = $(SH_COMPILER)
13RANLIB          = $(SH_RANLIB)
14LDFLAGS     = -L/usr/local/X11/lib
15LIBS        = -lsource -lm -lX
16LIB_GRAPH       =       $(SH_LIB)libgraph.a
17
18LOCAL_SRCS      =       graphch.c memch.c memfile.c psch.c xwch.c
19#LOCAL_OBJS     =       $(LOCAL_SRCS:%.c=%.o)
20LOCAL_OBJS      =       $(LOCAL_SRCS:.c=.o)
21
22all:
23        make $(LIB_GRAPH)
24
25$(LIB_GRAPH):   $(LOCAL_OBJS)
26        ar r $@ $(LOCAL_OBJS); $(RANLIB) $@
27
28
29clean:
30        @rm $(LOCAL_OBJS) *%
31
32
33depend:
34        gccmakedep -s "# DO NOT DELETE" -- $(CFLAGS) -- $(LOCAL_SRCS)
35
36
37# DO NOT DELETE
38
Note: See TracBrowser for help on using the repository browser.