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
)
32 # omit this XMesa API demo: xdemo
41 $(CC
) -I
$(INCDIR
) $(X11_INCLUDES
) $(CFLAGS
) $< $(APP_LIB_DEPS
) -o
$@
55 pbinfo
: pbinfo.o pbutil.o
56 $(CC
) pbinfo.o pbutil.o
$(APP_LIB_DEPS
) -o
$@
58 pbdemo
: pbdemo.o pbutil.o
59 $(CC
) pbdemo.o pbutil.o
$(APP_LIB_DEPS
) -o
$@
61 pbinfo.o
: pbinfo.c pbutil.h
62 $(CC
) -c
-I.
-I
$(INCDIR
) $(X11_INCLUDES
) $(CFLAGS
) pbinfo.c
64 pbdemo.o
: pbdemo.c pbutil.h
65 $(CC
) -c
-I.
-I
$(INCDIR
) $(X11_INCLUDES
) $(CFLAGS
) pbdemo.c
67 pbutil.o
: pbutil.c pbutil.h
68 $(CC
) -c
-I.
-I
$(INCDIR
) $(X11_INCLUDES
) $(CFLAGS
) pbutil.c
70 glxgears_fbconfig
: glxgears_fbconfig.o pbutil.o
71 $(CC
) glxgears_fbconfig.o pbutil.o
$(APP_LIB_DEPS
) -o
$@
73 glxgears_fbconfig.o
: glxgears_fbconfig.c pbutil.h
74 $(CC
) -I
$(INCDIR
) $(X11_INCLUDES
) $(CFLAGS
) -c
-I.
$(CFLAGS
) glxgears_fbconfig.c
76 xrotfontdemo
: xrotfontdemo.o xuserotfont.o
77 $(CC
) xrotfontdemo.o xuserotfont.o
$(APP_LIB_DEPS
) -o
$@
79 xuserotfont.o
: xuserotfont.c xuserotfont.h
80 $(CC
) -c
-I.
-I
$(INCDIR
) $(X11_INCLUDES
) $(CFLAGS
) xuserotfont.c
82 xrotfontdemo.o
: xrotfontdemo.c xuserotfont.h
83 $(CC
) -c
-I.
-I
$(INCDIR
) $(X11_INCLUDES
) $(CFLAGS
) xrotfontdemo.c