1 # progs/xdemos/Makefile
4 include $(TOP
)/configs
/current
7 INCDIR
= $(TOP
)/include
9 LIB_DEP
= $(LIB_DIR
)/$(GL_LIB_NAME
) $(LIB_DIR
)/$(GLU_LIB_NAME
)
39 $(CC
) -I
$(INCDIR
) $(CFLAGS
) $< $(APP_LIB_DEPS
) -o
$@
53 pbinfo
: pbinfo.o pbutil.o
54 $(CC
) $(CFLAGS
) pbinfo.o pbutil.o
$(APP_LIB_DEPS
) -o
$@
56 pbdemo
: pbdemo.o pbutil.o
57 $(CC
) $(CFLAGS
) pbdemo.o pbutil.o
$(APP_LIB_DEPS
) -o
$@
59 pbinfo.o
: pbinfo.c pbutil.h
60 $(CC
) -c
-I.
-I
$(INCDIR
) $(CFLAGS
) pbinfo.c
62 pbdemo.o
: pbdemo.c pbutil.h
63 $(CC
) -c
-I.
-I
$(INCDIR
) $(CFLAGS
) pbdemo.c
65 pbutil.o
: pbutil.c pbutil.h
66 $(CC
) -c
-I.
-I
$(INCDIR
) $(CFLAGS
) pbutil.c
68 glxgears_fbconfig
: glxgears_fbconfig.o pbutil.o
69 $(CC
) $(CFLAGS
) glxgears_fbconfig.o pbutil.o
$(APP_LIB_DEPS
) -o
$@
71 glxgears_fbconfig.o
: glxgears_fbconfig.c pbutil.h
72 $(CC
) $(CFLAGS
) -c
-I.
-I
$(INCDIR
) $(CFLAGS
) glxgears_fbconfig.c
74 xrotfontdemo
: xrotfontdemo.o xuserotfont.o
75 $(CC
) $(CFLAGS
) xrotfontdemo.o xuserotfont.o
$(APP_LIB_DEPS
) -o
$@
77 xuserotfont.o
: xuserotfont.c xuserotfont.h
78 $(CC
) -c
-I.
-I
$(INCDIR
) $(CFLAGS
) xuserotfont.c
80 xrotfontdemo.o
: xrotfontdemo.c xuserotfont.h
81 $(CC
) -c
-I.
-I
$(INCDIR
) $(CFLAGS
) xrotfontdemo.c