diff options
author | Matt Turner <mattst88@gmail.com> | 2007-12-20 00:39:33 +0000 |
---|---|---|
committer | Matt Turner <mattst88@gmail.com> | 2007-12-20 00:39:33 +0000 |
commit | 7f01dceac3c6f5be7c6745baf14c4b0d092aa31f (patch) | |
tree | a8bc8c92fd3c9d61a17e2afaf8e8bdab4f210a66 /Makefile |
Create branch to allow shortcuts for buttons. Partial rewrite :(CalculatorButton
git-svn-id: svn://mattst88.com/svn/calculator/branches/CalculatorButton@9 40705d3a-cdd4-446d-8ced-669f9f7342eb
Diffstat (limited to 'Makefile')
-rwxr-xr-x | Makefile | 17 |
1 files changed, 17 insertions, 0 deletions
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} |