libsegl/model/Makefile

14 lines
221 B
Makefile
Executable File

CC = g++
OBJOPT = -c `sdl-config --cflags` -Wall
OBJECTS = model.o modelloader.o loadobj.o
glguilib: $(OBJECTS)
# rm glgui.a -f
ar crus glmenu.a $(OBJECTS)
%.o: %.cpp %.h
$(CC) $(OBJOPT) $<
clean:
rm -f $(OBJECTS)