home *** CD-ROM | disk | FTP | other *** search
Makefile | 2000-08-16 | 1.4 KB | 61 lines |
- LIBNAME = libobjgl2.a
- LIBPATH = e:/mingw32/i386-mingw32/lib
-
- CPP = g++
- CPPOPTS =
-
- CP = cp
- RM = rm -f
-
- OBJECTS = String.o \
- hierarchy.o \
- light.o \
- camera.o \
- material.o \
- texture.o \
- image.o \
- api3ds.o \
- glext.o
-
- BHEADERS = List.h \
- vector2.h \
- vector3.h \
- vector4.h \
- glmatrix.h \
- quaternion.h \
- miscmath.h \
- entity.h \
- String.h \
- types.h \
- dynamic.h \
- switchers.h \
- boundingbox.h \
- hierarchy.h
-
- default all: libobjgl2
-
- libobjgl2: $(OBJECTS)
- ar rs $(LIBNAME) $(OBJECTS)
- $(CP) $(LIBNAME) $(LIBPATH)
-
- String.o: String.cpp String.h
- entity.o: entity.cpp entity.h String.h List.h
- hierarchy.o: hierarchy.cpp hierarchy.h entity.h String.h List.h
- texture.o: texture.cpp texture.h image.h $(BHEADERS)
- material.o: material.cpp material.h texture.h $(BHEADERS)
- light.o: light.cpp light.h $(BHEADERS)
- camera.o: camera.cpp camera.h $(BHEADERS)
- image.o: image.cpp image.h
- api3ds.o: api3ds.cpp api3ds.h image.h camera.h light.h texture.h material.h objgl2.h $(BHEADERS)
- glext.o: glext.cpp glext.h
-
- %.o : %.cpp
- $(CPP) -c $(CPPOPTS) $< -o $@
-
- install:
- $(CP) $(LIBNAME) $(LIBPATH)
-
- clean:
- $(RM) *.o
- $(RM) libobjgl2.a
-