Mercurial > hg > Members > nobuyasu > test
diff returnCheck/Makefile @ 0:1dd1eac8b18f
upload check return program
author | nobuyasu |
---|---|
date | Tue, 01 Mar 2011 04:31:21 +0900 |
parents | |
children | 456587e74f71 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/returnCheck/Makefile Tue Mar 01 04:31:21 2011 +0900 @@ -0,0 +1,17 @@ +# +# Makefile +# + +program = return +objs = return.o +#CC = gcc +CC = ~/hg/CbC/build-gcc/INSTALL_DIR/bin/gcc +CFLAGS = -O0 -g + +$(program): $(objs) + $(CC) -o $(program) $^ +$(objs): $(program).c + $(CC) $(CFLAGS) -c $< + +clean: + rm -rf $(program) $(objs) \ No newline at end of file