From 7f01dceac3c6f5be7c6745baf14c4b0d092aa31f Mon Sep 17 00:00:00 2001 From: Matt Turner Date: Thu, 20 Dec 2007 00:39:33 +0000 Subject: Create branch to allow shortcuts for buttons. Partial rewrite :( git-svn-id: svn://mattst88.com/svn/calculator/branches/CalculatorButton@9 40705d3a-cdd4-446d-8ced-669f9f7342eb --- Makefile | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100755 Makefile (limited to 'Makefile') diff --git a/Makefile b/Makefile new file mode 100755 index 0000000..0106a82 --- /dev/null +++ b/Makefile @@ -0,0 +1,17 @@ +CPP=g++ +WARN=-W -Wall +CFLAGS=-O2 ${WARN} +LDFLAGS=-los + +EXE=Calculator.app + +OBJS=CalculatorButton.o CalculatorWindow.o Calculator.o + +all: ${OBJS} + ${CPP} ${LDFLAGS} ${OBJS} -o ${EXE} + +%.o: %.cpp + ${CPP} ${CFLAGS} -c -o $@ $< + +clean: + rm ${OBJS} ${EXE} -- cgit v1.2.3