source: git/misc/Makefile.in @ a59c630

spielwiese
Last change on this file since a59c630 was 3b3b0e, checked in by Hans Schoenemann <hannes@…>, 14 years ago
configure for misc
  • Property mode set to 100644
File size: 1.6 KB
Line 
1#################################################################
2###
3### Makefile for Singular
4###
5#################################################################
6
7SHELL           = /bin/sh
8
9##
10## various paths
11##
12srcdir          = .
13prefix          = @prefix@
14exec_prefix     = @exec_prefix@
15libdir          = @libdir@
16# includes are taken from here
17includedir      = @includedir@
18
19##
20## various programs
21##
22
23CXX             = g++
24INSTALL         = /usr/bin/install -c
25INSTALL_PROGRAM = ${INSTALL}
26INSTALL_DATA    = ${INSTALL} -m 644
27MKINSTALLDIRS   = ../mkinstalldirs
28LN_S            = ln -s
29
30##
31## compiler and linker options
32##
33PIPE            = -pipe
34CFLAGS          = -O3 -w -fomit-frame-pointer ${PIPE}
35CXXFLAGS        = -O3 -w -fomit-frame-pointer --no-rtti ${PIPE}
36CXXTEMPLFLAGS   = -fno-implicit-templates --no-exceptions
37CPPFLAGS        = -I${srcdir} -I${includedir}
38DEFS            = -DNDEBUG -DOM_NDEBUG -Dix86_Linux -DHAVE_CONFIG_H
39
40## End configuration dependend stuff
41#################################################################
42
43###
44### file sets
45###
46
47# normal C++ source files
48CXXSOURCES=
49
50# normal C source files
51CSOURCES=
52
53SOURCES=${CSOURCES} ${CXXSOURCES}
54
55HEADERS=auxiliary.h mylimits.h
56
57DISTFILES=${SOURCES} ${HEADERS}
58
59OBJS := $(CXXSOURCES:.cc=.o) $(CSOURCES:.c=.o)
60
61.cc.o: 
62        ${CXX} ${CXXFLAGS} ${CXXTEMPLFLAGS} ${CPPFLAGS} ${DEFS} -c $<
63.c.o:
64        ${CC} ${CFLAGS} ${CPPFLAGS} ${DEFS} -c $<
65
66all:
67
68install: all
69        ${MKINSTALLDIRS} ${includedir}
70        ${MKINSTALLDIRS} ${libdir}
71        ${INSTALL_DATA} auxiliary.h ${includedir}/auxiliary.h
72        ${INSTALL_DATA} mylimits.h ${includedir}/mylimits.h
73
74##
75## clean targest
76##
77mostlyclean:
78        -rm -f *.o *.og core *.op
79
80clean: mostlyclean
81        -rm -f *.bak *.d *.dd depend *.a *.so*
82
83tags:   
84        ctags *.c *.h *.cc *.inc
Note: See TracBrowser for help on using the repository browser.