File: Makefile.sgi

package info (click to toggle)
glut 3.7-25
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k, lenny, sarge, squeeze
  • size: 13,036 kB
  • ctags: 47,177
  • sloc: ansic: 148,716; makefile: 44,180; ada: 2,062; yacc: 473; fortran: 290; lex: 131; csh: 52; sed: 49
file content (39 lines) | stat: -rw-r--r-- 852 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
#!smake
#
# Copyright (c) Mark J. Kilgard, 1995, 1998.
#

TOP = ..
include $(TOP)/glutdefs
include $(ROOT)/usr/include/make/commondefs

# $(TOP)/Fortran.mk should contain the line "FGLUT = fglut" if
# the Fortran GLUT API binding is to be built.  Note:  This requires
# IRIX 5.3 and the SGI Fortran compiler and OpenGL Fortran libraries
# installed.
sinclude $(TOP)/Fortran.mk

SUBDIRS = \
  glut$(GLUT_LIB_SUFFIX) \
  $(FGLUT_DIR)$(GLUT_LIB_SUFFIX) \
  mui$(GLUT_LIB_SUFFIX) \
  gle$(GLUT_LIB_SUFFIX) \
  glsmap$(GLUT_LIB_SUFFIX) \

ALL_SUBDIRS = \
  glut glut.n32 glut.n64 \
  fglut fglut.n32 fglut.n64 \
  mui mui.n32 mui.n64 \
  gle gle.n32 gle.n64 \
  glsmap glsmap.n32 glsmap.n64 \

default: $(_FORCE)
	$(SUBDIRS_MAKERULE)

$(SUBDIRS): $(_FORCE)
	cd $@; $(MAKE)

$(COMMONTARGS):
	@for d in $(ALL_SUBDIRS); do $(SUBDIR_MAKERULE); done

$(_FORCE):