source: git/modules/README @ dcafdb

spielwiese
Last change on this file since dcafdb was 1471a87, checked in by Kai Krüger <krueger@…>, 25 years ago
*** empty log message *** git-svn-id: file:///usr/local/Singular/svn/trunk@2950 2c84dea3-7e68-4137-9b89-c4e89433aadc
  • Property mode set to 100644
File size: 580 bytes
Line 
1Linux:
2======
3CC      = gcc
4CXX     = gcc
5SFLAGS  = -fPIC -DPIC
6
7all:    kernel.so
8
9%.lo: %.cc Makefile
10        ${CC} ${CFLAGS} -c -fPIC -DPIC $< -o $*.lo
11
12%.la: %.cc Makefile
13        ${CC} ${CFLAGS} -c $< -o $*.la
14
15kernel.so: ${OBJS}
16        ${CC} ${CFLAGS} -shared -Wl,-soname -Wl,kernel.so.1 \
17                -o kernel.so.1.1.0 ${OBJS}
18        rm -f kernel.so
19        ln -s kernel.so.1.1.0 kernel.so
20
21
22HPUX-9:
23=======
24CC      = gcc
25CXX     = gcc
26SFLAGS  = -fPIC -DPIC
27
28all:    kernel.sl
29
30%.o: %.cc Makefile
31        ${CC} ${CFLAGS} -c ${SFLAGS} $< -o $*.o
32
33kernel.sl: ${OBJS}
34        $(LD) -b -o kernel.sl $(OBJS)
Note: See TracBrowser for help on using the repository browser.