Hash :
01ebb256
Author :
Date :
2003-01-14T16:09:55
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43
top_srcdir=../..
VPATH=$(top_srcdir)/demo
top_builddir=..
-include $(top_builddir)/Make.conf
TARGET = FTGLDemo
all: $(TARGET)
SRCS = \
FTGLDemo.cpp \
tb.c \
trackball.c \
HEADERS = \
tb.h \
trackball.h \
OBJS = $(patsubst %.cpp,%.$(OBJEXT),$(filter %.cpp,$(SRCS)))
OBJS += $(patsubst %.c,%.$(OBJEXT),$(filter %.c,$(SRCS)))
ALL_OBJS = $(OBJS)
CPPFLAGS += $(FT2_CFLAGS)
CPPFLAGS += -I$(top_srcdir)/src
LIBS += $(FT2_LIBS)
FTGLDemo: $(OBJS)
$(LIBTOOL) --mode=link $(CXX) $^ -o $@ $(top_builddir)/src/libftgl.la $(LIBGLUT) $(LIBS)
install-local: FTGLDemo
$(INSTALL) -d -m 0755 $(bindir)
$(LIBTOOL) --mode=install $(INSTALL) -m 0755 $(TARGET) $(bindir)
clean-local:
$(RM) $(ALL_OBJS)
distclean-local:
$(RM) $(TARGET)
$(RM) -r .libs
include $(top_builddir)/Make.rules