1 # progs/xdemos/Makefile
4 include $(TOP
)/configs
/current
7 INCDIR
= $(TOP
)/include
9 LIB_DEP
= $(TOP
)/$(LIB_DIR
)/$(GL_LIB_NAME
) $(TOP
)/$(LIB_DIR
)/$(GLU_LIB_NAME
)
33 # omit this XMesa API demo: xdemo
42 $(APP_CC
) -I
$(INCDIR
) $(CFLAGS
) $< $(APP_LIB_DEPS
) -o
$@
56 pbinfo
: pbinfo.o pbutil.o
57 $(APP_CC
) -I
$(INCDIR
) $(CFLAGS
) pbinfo.o pbutil.o
$(APP_LIB_DEPS
) -o
$@
59 pbdemo
: pbdemo.o pbutil.o
60 $(APP_CC
) -I
$(INCDIR
) $(CFLAGS
) pbdemo.o pbutil.o
$(APP_LIB_DEPS
) -o
$@
62 pbinfo.o
: pbinfo.c pbutil.h
63 $(APP_CC
) -c
-I.
-I
$(INCDIR
) $(CFLAGS
) pbinfo.c
65 pbdemo.o
: pbdemo.c pbutil.h
66 $(APP_CC
) -c
-I.
-I
$(INCDIR
) $(CFLAGS
) pbdemo.c
68 pbutil.o
: pbutil.c pbutil.h
69 $(APP_CC
) -c
-I.
-I
$(INCDIR
) $(CFLAGS
) pbutil.c
71 glxgears_fbconfig
: glxgears_fbconfig.o pbutil.o
72 $(APP_CC
) -I
$(INCDIR
) $(CFLAGS
) glxgears_fbconfig.o pbutil.o
$(APP_LIB_DEPS
) -o
$@
74 glxgears_fbconfig.o
: glxgears_fbconfig.c pbutil.h
75 $(APP_CC
) -I
$(INCDIR
) $(CFLAGS
) -c
-I.
$(CFLAGS
) glxgears_fbconfig.c
77 xrotfontdemo
: xrotfontdemo.o xuserotfont.o
78 $(APP_CC
) -I
$(INCDIR
) $(CFLAGS
) xrotfontdemo.o xuserotfont.o
$(APP_LIB_DEPS
) -o
$@
80 xuserotfont.o
: xuserotfont.c xuserotfont.h
81 $(APP_CC
) -c
-I.
-I
$(INCDIR
) $(CFLAGS
) xuserotfont.c
83 xrotfontdemo.o
: xrotfontdemo.c xuserotfont.h
84 $(APP_CC
) -c
-I.
-I
$(INCDIR
) $(CFLAGS
) xrotfontdemo.c