You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

23 lines
464 B

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
LIBNAME = segl
sgllib: $(OBJECTS)
sglar: $(OBJECTS)
rm -f lib$(LIBNAME).a
ar rfc lib$(LIBNAME).a $(OBJECTS)
%.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...