4 include $(TOP
)/configs
/current
6 INCDIR
= $(TOP
)/include
8 OSMESA_LIBS
= -L
$(TOP
)/$(LIB_DIR
) -lglut
-lOSMesa
-lGLU
-lGL
$(APP_LIB_DEPS
)
10 OSMESA16_LIBS
= -L
$(TOP
)/$(LIB_DIR
) -lglut
-lOSMesa16
-lGLU
-lGL
$(APP_LIB_DEPS
)
12 OSMESA32_LIBS
= -L
$(TOP
)/$(LIB_DIR
) -lglut
-lOSMesa32
-lGLU
-lGL
$(APP_LIB_DEPS
)
14 LIB_DEP
= $(TOP
)/$(LIB_DIR
)/$(GL_LIB_NAME
) $(TOP
)/$(LIB_DIR
)/$(GLU_LIB_NAME
) $(TOP
)/$(LIB_DIR
)/$(GLUT_LIB_NAME
)
75 # make executable from .c file:
76 .c
: $(LIB_DEP
) readtex.o
77 $(APP_CC
) -I
$(INCDIR
) $(CFLAGS
) $< readtex.o
$(APP_LIB_DEPS
) -o
$@
86 readtex.c
: $(TOP
)/progs
/util
/readtex.c
89 readtex.h
: $(TOP
)/progs
/util
/readtex.h
92 readtex.o
: readtex.c readtex.h
93 $(APP_CC
) -c
-I
$(INCDIR
) $(CFLAGS
) readtex.c
96 showbuffer.c
: $(TOP
)/progs
/util
/showbuffer.c
99 showbuffer.h
: $(TOP
)/progs
/util
/showbuffer.h
102 showbuffer.o
: showbuffer.c showbuffer.h
103 $(APP_CC
) -c
-I
$(INCDIR
) $(CFLAGS
) showbuffer.c
106 trackball.c
: $(TOP
)/progs
/util
/trackball.c
109 trackball.h
: $(TOP
)/progs
/util
/trackball.h
112 trackball.o
: trackball.c trackball.h
113 $(APP_CC
) -c
-I
$(INCDIR
) $(CFLAGS
) trackball.c
116 extfuncs.h
: $(TOP
)/progs
/util
/extfuncs.h
120 reflect
: reflect.o showbuffer.o readtex.o
121 $(APP_CC
) reflect.o showbuffer.o readtex.o
$(APP_LIB_DEPS
) $(ARCH_FLAGS
) -o
$@
123 reflect.o
: reflect.c showbuffer.h
124 $(APP_CC
) -c
-I
$(INCDIR
) $(CFLAGS
) reflect.c
127 shadowtex
: shadowtex.o showbuffer.o
128 $(APP_CC
) shadowtex.o showbuffer.o
$(APP_LIB_DEPS
) $(ARCH_FLAGS
) -o
$@
130 shadowtex.o
: shadowtex.c showbuffer.h
131 $(APP_CC
) -c
-I
$(INCDIR
) $(CFLAGS
) shadowtex.c
134 gloss
: gloss.o trackball.o readtex.o
135 $(APP_CC
) gloss.o trackball.o readtex.o
$(APP_LIB_DEPS
) $(ARCH_FLAGS
) -o
$@
137 gloss.o
: gloss.c trackball.h
138 $(APP_CC
) -c
-I
$(INCDIR
) $(CFLAGS
) gloss.c
141 engine
: engine.o trackball.o readtex.o
142 $(APP_CC
) engine.o trackball.o readtex.o
$(APP_LIB_DEPS
) $(ARCH_FLAGS
) -o
$@
144 engine.o
: engine.c trackball.h
145 $(APP_CC
) -c
-I
$(INCDIR
) $(CFLAGS
) engine.c
149 $(APP_CC
) fslight.o
$(APP_LIB_DEPS
) $(ARCH_FLAGS
) -o
$@
151 fslight.o
: fslight.c extfuncs.h
152 $(APP_CC
) -c
-I
$(INCDIR
) $(CFLAGS
) fslight.c
159 -rm -f readtex.
[ch
] showbuffer.
[ch
]