2008-03-31 00:14:35 +02:00
|
|
|
CC = g++
|
|
|
|
OBJOPT = -c `sdl-config --cflags` -Wall
|
2008-02-09 13:43:23 +01:00
|
|
|
OBJECTS = button.o object.o textlabel.o window.o
|
|
|
|
|
|
|
|
glguilib: $(OBJECTS)
|
2008-02-10 20:50:42 +01:00
|
|
|
# rm glgui.a -f
|
|
|
|
ar crus glgui.a $(OBJECTS)
|
2008-02-09 13:43:23 +01:00
|
|
|
|
|
|
|
%.o: %.cpp %.h
|
2008-03-31 00:14:35 +02:00
|
|
|
$(CC) $(OBJOPT) $<
|
2008-02-09 13:43:23 +01:00
|
|
|
|
|
|
|
clean:
|
|
|
|
rm -f $(OBJECTS)
|