From 00080b5afbeecffbf1ba8c05903247c95d23ecab Mon Sep 17 00:00:00 2001 From: Matt Turner Date: Sat, 15 Dec 2007 21:26:03 +0000 Subject: Initial code import. Skeleton program and makefile. git-svn-id: svn://mattst88.com/svn/calculator/trunk@2 40705d3a-cdd4-446d-8ced-669f9f7342eb --- Makefile | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100755 Makefile (limited to 'Makefile') 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 -- cgit v1.2.3