libsegl/Makefile

23 lines
464 B
Makefile
Raw Normal View History

2008-02-09 13:43:23 +01:00
COMPILER = g++
OBJECTS = emath.o emath_opengl.o glcolor.o gldrawhelper.o glfontengine.o glrect.o gltexture.o matrix.o quaternion.o rotationsmatrix.o glgui/glgui.a
VERSION = 0.0.1
2008-02-09 15:38:37 +01:00
LIBNAME = segl
2008-02-09 13:43:23 +01:00
sgllib: $(OBJECTS)
sglar: $(OBJECTS)
2008-02-09 15:38:37 +01:00
rm -f lib$(LIBNAME).a
ar rfc lib$(LIBNAME).a $(OBJECTS)
2008-02-09 13:43:23 +01:00
%.o: %.cpp %.h
$(COMPILER) -c `sdl-config --cflags` $<
glgui/glgui.a:
cd glgui; $(MAKE);
clean:
rm -f $(OBJECTS)
cd glgui; $(MAKE) clean
@echo Done cleaning...