blob: 0684b24162508fb12024d2935cbaa93fe654ccf0 (
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=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 $@ $<
|