source: proiecte/pmake3d/make3d_original/Make3dSingleImageStanford_version0.1/third_party/vrippack-0.31/src/softrender/bak/compile-flags-softrender @ 37

Last change on this file since 37 was 37, checked in by (none), 14 years ago

Added original make3d

File size: 1.7 KB
Line 
1#!/usr/sbin/make
2
3#
4#  Homan Igehy
5#
6#  Modified by: Brian Curless
7
8#  Computer Graphics Laboratory
9#  Stanford University
10
11#  ---------------------------------------------------------------------
12
13#  Copyright (1997-2001) The Board of Trustees of the Leland Stanford
14#  Junior University. Except for commercial resale, lease, license or
15#  other commercial transactions, permission is hereby given to use,
16#  copy, modify this software for academic purposes only.  No part of
17#  this software or any derivatives thereof may be used in the
18#  production of computer models for resale or for use in a commercial
19#  product. STANFORD MAKES NO REPRESENTATIONS OR WARRANTIES OF ANY
20#  KIND CONCERNING THIS SOFTWARE.  No support is implied or provided.
21
22
23ifndef OPTIMIZER
24        OPTIMIZER = -O
25endif
26
27# Get OS uname
28UNAME := $(shell uname)
29
30ifeq ($(UNAME), IRIX)
31
32        # Set optimizer flags to allow it to run on Indys...
33        ifeq ($(OPTIMIZER), -O)
34            OPTIMIZER = -O -mips3
35        endif  #OPTIMIZER
36
37        CPP = CC
38
39        CCFLAGS = -woff3262
40
41        INCLS = -I. -I$(ROOT)/include
42
43        LIBPATHS = -L. -L$(ROOT)/lib
44
45        ASFLAGS = -mips2 -O2
46
47else
48
49        # Set special optimizer flags...
50        ifeq ($(OPTIMIZER),-O)
51                OPTIMIZER = -O6 -march=i686 -malign-double -fno-for-scope \
52                            -funroll-loops -fomit-frame-pointer -ffast-math
53        endif
54
55        CPP = g++
56
57        CCFLAGS = -DLINUX -Wno-unused
58
59        INCLS = -I. -I$(ROOT)/include
60
61        LIBPATHS = -L. -L$(ROOT)/lib
62
63endif
64
65clean:
66        -/bin/rm -f  *~ *.o *.s *.S core
67
68clobber:
69        -/bin/rm -f *~ *.o *.s *.S makedep core curtest core Makedepend \
70        mon.out libsl.a
71
72install: clobber depend all
73
74depend:
75        echo > makedep
76        gccmakedep -fmakedep -- $(CFLAGS) -- $(CSRCS)
77        -rm makedep.bak
78
79-include makedep
80
81# DO NOT DELETE
82
Note: See TracBrowser for help on using the repository browser.