summaryrefslogtreecommitdiff
path: root/Makefile
blob: 9a02f09afbaa3f233997bd6a1470c2980049612c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
CC=g++
CPPFLAGS=-Os -pipe -fPIC
LDFLAGS=-Wl,-O1

OBJECTS=widget.o widgetbutton.o widgetcheckbox.o widgetform.o \
		widgettextfield.o  widgetprogressbar.o widgetslider.o \
		widgettitle.o widgettooltip.o

all: ${OBJECTS}
	${CC} ${LDFLAGS},-s -shared -o libskygi++.so ${OBJECTS}

clean:
	rm -f ${OBJECTS}
	rm -f libskygi++.so
	
remake: clean all

%.o: %.cpp
	${CC} ${CPPFLAGS} ${INCLUDES} -c -o $@ $<