summaryrefslogtreecommitdiff
path: root/Makefile
blob: 71f2fa73119e2e11d49b8d56d9e58fa04f9f2e04 (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 -DPIC
LDFLAGS=-Wl,-O1

OBJECTS=application.o 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 $@ $<