13 lines
213 B
Makefile
13 lines
213 B
Makefile
|
# COMPILER = g++
|
||
|
OBJECTS = button.o object.o textlabel.o window.o
|
||
|
|
||
|
glguilib: $(OBJECTS)
|
||
|
rm glgui.a -f
|
||
|
ar rfc glgui.a $(OBJECTS)
|
||
|
|
||
|
%.o: %.cpp %.h
|
||
|
$(COMPILER) -c `sdl-config --cflags` $<
|
||
|
|
||
|
clean:
|
||
|
rm -f $(OBJECTS)
|