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
)
27 # make executable from .c file:
29 $(CC
) -I
$(INCDIR
) $(CFLAGS
) $< $(APP_LIB_DEPS
) -o
$@
38 ##### Extra dependencies
40 extfuncs.h
: $(TOP
)/progs
/util
/extfuncs.h
43 readtex.c
: $(TOP
)/progs
/util
/readtex.c
46 readtex.h
: $(TOP
)/progs
/util
/readtex.h
49 readtex.o
: readtex.c readtex.h
50 $(CC
) -c
-I
$(INCDIR
) $(CFLAGS
) readtex.c
56 mandelbrot.c
: extfuncs.h
60 texdemo1
: texdemo1.o readtex.o
61 $(CC
) -I
$(INCDIR
) $(CFLAGS
) texdemo1.o readtex.o
$(APP_LIB_DEPS
) -o
$@
63 texdemo1.o
: texdemo1.c readtex.h extfuncs.h
64 $(CC
) -c
-I
$(INCDIR
) $(CFLAGS
) texdemo1.c
66 convolutions
: convolutions.o readtex.o
67 $(CC
) -I
$(INCDIR
) $(CFLAGS
) convolutions.o readtex.o
$(APP_LIB_DEPS
) -o
$@
69 convolutions.o
: convolutions.c readtex.h
70 $(CC
) -c
-I
$(INCDIR
) $(CFLAGS
) convolutions.c