1 # progs/xdemos/Makefile
4 include $(TOP
)/configs
/current
7 INCDIR
= $(TOP
)/include
9 LIBS
= -L
$(LIB_DIR
) $(APP_LIB_DEPS
)
11 LIB_DEP
= $(LIB_DIR
)/$(GL_LIB
) $(LIB_DIR
)/$(GLU_LIB
)
38 $(CC
) -I
$(INCDIR
) $(CFLAGS
) $< $(LIBS
) -o
$@
55 pbinfo
: pbinfo.o pbutil.o
56 $(CC
) pbinfo.o pbutil.o
$(LIBS
) -o
$@
58 pbdemo
: pbdemo.o pbutil.o
59 $(CC
) pbdemo.o pbutil.o
$(LIBS
) -o
$@
61 pbinfo.o
: pbinfo.c pbutil.h
62 $(CC
) -c
-I.
-I
$(INCDIR
) $(CFLAGS
) pbinfo.c
64 pbdemo.o
: pbdemo.c pbutil.h
65 $(CC
) -c
-I.
-I
$(INCDIR
) $(CFLAGS
) pbdemo.c
67 pbutil.o
: pbutil.c pbutil.h
68 $(CC
) -c
-I.
-I
$(INCDIR
) $(CFLAGS
) pbutil.c
71 xrotfontdemo
: xrotfontdemo.o xuserotfont.o
72 $(CC
) xrotfontdemo.o xuserotfont.o
$(LIBS
) -o
$@
74 xuserotfont.o
: xuserotfont.c xuserotfont.h
75 $(CC
) -c
-I.
-I
$(INCDIR
) $(CFLAGS
) xuserotfont.c
77 xrotfontdemo.o
: xrotfontdemo.c xuserotfont.h
78 $(CC
) -c
-I.
-I
$(INCDIR
) $(CFLAGS
) xrotfontdemo.c