libsegl/glgui/Makefile

14 lines
227 B
Makefile
Executable File

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