4 include $(TOP
)/configs
/current
6 INCDIR
= $(TOP
)/include
8 LIB_DEP
= $(TOP
)/$(LIB_DIR
)/$(GL_LIB_NAME
) $(TOP
)/$(LIB_DIR
)/$(GLU_LIB_NAME
) $(TOP
)/$(LIB_DIR
)/$(GLUT_LIB_NAME
)
28 # make executable from .c file:
30 $(CC
) -I
$(INCDIR
) $(CFLAGS
) $< $(APP_LIB_DEPS
) -o
$@
39 ##### Extra dependencies
41 extfuncs.h
: $(TOP
)/progs
/util
/extfuncs.h
44 readtex.c
: $(TOP
)/progs
/util
/readtex.c
47 readtex.h
: $(TOP
)/progs
/util
/readtex.h
50 readtex.o
: readtex.c readtex.h
51 $(CC
) -c
-I
$(INCDIR
) $(CFLAGS
) readtex.c
59 mandelbrot.c
: extfuncs.h
65 texdemo1
: texdemo1.o readtex.o
66 $(CC
) -I
$(INCDIR
) $(CFLAGS
) texdemo1.o readtex.o
$(APP_LIB_DEPS
) -o
$@
68 texdemo1.o
: texdemo1.c readtex.h extfuncs.h
69 $(CC
) -c
-I
$(INCDIR
) $(CFLAGS
) texdemo1.c