22 lines
435 B
Makefile
22 lines
435 B
Makefile
|
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
|
||
|
|
||
|
|
||
|
sgllib: $(OBJECTS)
|
||
|
|
||
|
sglar: $(OBJECTS)
|
||
|
rm -f sgllib.a
|
||
|
ar rfc sgllib.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...
|