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 $@ $<