4 include $(TOP
)/configs
/current
6 INCDIR
= $(TOP
)/include
9 $(TOP
)/$(LIB_DIR
)/$(GL_LIB_NAME
) \
10 $(TOP
)/$(LIB_DIR
)/$(GLU_LIB_NAME
) \
11 $(TOP
)/$(LIB_DIR
)/$(GLUT_LIB_NAME
)
13 LIBS
= -L
$(TOP
)/$(LIB_DIR
) -l
$(GLUT_LIB
) -l
$(GLEW_LIB
) -l
$(GLU_LIB
) -l
$(GL_LIB
) $(APP_LIB_DEPS
)
15 INCLUDE_DIRS
= -I
$(TOP
)/progs
/util
17 # using : to avoid APP_CC pointing to CC loop
60 UTIL_OBJS
= $(UTIL_SOURCES
:.c
=.o
)
61 PROG_OBJS
= $(DEMO_SOURCES
:.c
=.o
)
62 PROGS
= $(DEMO_SOURCES
:%.c
=%)
68 $(PROG_OBJS
): $(UTIL_HEADERS
)
70 $(PROGS
): $(UTIL_OBJS
)
80 ##### Extra dependencies
82 extfuncs.h
: $(TOP
)/progs
/util
/extfuncs.h
85 readtex.c
: $(TOP
)/progs
/util
/readtex.c
88 readtex.h
: $(TOP
)/progs
/util
/readtex.h
91 shaderutil.c
: $(TOP
)/progs
/util
/shaderutil.c
94 shaderutil.h
: $(TOP
)/progs
/util
/shaderutil.h