diff options
author | Matt Turner <mattst88@gmail.com> | 2007-12-15 21:26:03 +0000 |
---|---|---|
committer | Matt Turner <mattst88@gmail.com> | 2007-12-15 21:26:03 +0000 |
commit | 00080b5afbeecffbf1ba8c05903247c95d23ecab (patch) | |
tree | 7f69e1e87e8a6fbfa27ca2ac88394a4163339386 /Makefile | |
parent | 225abb556b67aa1d7b60768fefc28a22b0d74bf0 (diff) |
Initial code import. Skeleton program and makefile.
git-svn-id: svn://mattst88.com/svn/calculator/trunk@2 40705d3a-cdd4-446d-8ced-669f9f7342eb
Diffstat (limited to 'Makefile')
-rwxr-xr-x | Makefile | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/Makefile b/Makefile new file mode 100755 index 0000000..47bd57a --- /dev/null +++ b/Makefile @@ -0,0 +1,16 @@ +CPP=g++ +CFLAGS=-O2 +LDFLAGS=-los + +EXE=calculator.app + +OBJS=calculator.o + +all: ${OBJS} + ${CPP} ${LDFLAGS} ${OBJS} -o ${EXE} + +%.o: %.cpp + ${CPP} ${CFLAGS} -c -o $@ $< + +clean: + rm ${OBJS} ${EXE}
\ No newline at end of file |