libsegl/glmenu/Makefile

14 lines
237 B
Makefile
Executable File

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