~ubuntu-branches/ubuntu/utopic/cccc/utopic

« back to all changes in this revision

Viewing changes to cccc/posixgcc.mak

  • Committer: Bazaar Package Importer
  • Author(s): Colin Watson
  • Date: 2003-08-23 04:34:05 UTC
  • Revision ID: james.westby@ubuntu.com-20030823043405-xnzd3mn3hwtvi6dr
Tags: upstream-3.pre81
ImportĀ upstreamĀ versionĀ 3.pre81

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# posixgcc.mak
 
2
## GNUMakefile to build the CCCC project on the POSIX compliant 
 
3
## platforms using the GNU C Compiler.
 
4
## Tested with:
 
5
 
 
6
##   GCC 2.95.3 on Mandrake Linux v7.2  (reported by Tim Littlefair)
 
7
##   EGCS 2.91.66 (aka kgcc) on Mandrake Linux v7.2  (reported by Tim Littlefair)
 
8
##   GCC 2.96 on Red Hat 7.2 (reported by Tim Littlefair)
 
9
##   GCC 3.2 on Mandrake Linux 9.0 (reported by Tim Littlefair)
 
10
 
 
11
## The '-static' link argument was removed as a result of problems
 
12
## encountered on GCC 3.2 - as we don't prebuild binaries at present
 
13
## dynamic linking shouldn't be a killer problem.
 
14
 
 
15
## (More reports welcome)
 
16
## See rules.mak for discussion of the meaning of the make variables
 
17
## which this file defines
 
18
 
 
19
# support for debugging 
 
20
ifeq "$(DEBUG)" "true"
 
21
CFLAGS_DEBUG=-g
 
22
LDFLAGS_DEBUG=-g
 
23
endif
 
24
 
 
25
PATHSEP=/
 
26
 
 
27
CCC=g++
 
28
LD=g++
 
29
CFLAGS=-c -I../pccts/h $(CFLAGS_DEBUG) -x c++ 
 
30
C_OFLAG=-o
 
31
LDFLAGS=$(LDFLAGS_DEBUG)
 
32
LD_OFLAG=-o
 
33
OBJEXT=o
 
34
CCCC_EXE=cccc
 
35
 
 
36
COPY=cp
 
37
RM=rm
 
38
 
 
39
 
 
40
include rules.mak
 
41