From dfa4a46bb0e6c6df9d07039fda5ef7f4309915b2 Mon Sep 17 00:00:00 2001 From: Matt Turner Date: Fri, 4 Aug 2006 01:04:15 +0000 Subject: git-svn-id: svn://mattst88.com/svn/skygipp/trunk@2 a71248a0-261a-0410-b604-901f7c0bd773 --- Makefile | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 Makefile (limited to 'Makefile') diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..9a02f09 --- /dev/null +++ b/Makefile @@ -0,0 +1,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 $@ $< -- cgit v1.2.3