Thread: [Assorted-commits] SF.net SVN: assorted: [338] hash-join/trunk/src/Makefile
Brought to you by:
yangzhang
From: <yan...@us...> - 2008-02-07 18:42:34
|
Revision: 338 http://assorted.svn.sourceforge.net/assorted/?rev=338&view=rev Author: yangzhang Date: 2008-02-07 10:42:39 -0800 (Thu, 07 Feb 2008) Log Message: ----------- updated Makefile to produce multiple version of the executable Modified Paths: -------------- hash-join/trunk/src/Makefile Modified: hash-join/trunk/src/Makefile =================================================================== --- hash-join/trunk/src/Makefile 2008-02-07 17:06:08 UTC (rev 337) +++ hash-join/trunk/src/Makefile 2008-02-07 18:42:39 UTC (rev 338) @@ -1,10 +1,21 @@ -all: hashjoin +CFLAGS := -Wall -lprofiler -lpthread +CXX = g++ $(CFLAGS) -o $@ $^ -hashjoin: hashjoin.cc - # g++ -g3 -Wall -o hashjoin hashjoin.cc -lprofiler -lpthread - g++ -O3 -Wall -o hashjoin hashjoin.cc -lprofiler -lpthread +all: opt dbg pg +dbg: hashjoin-dbg +opt: hashjoin-opt +pg: hashjoin-pg +hashjoin-pg: hashjoin.cc + $(CXX) -pg + +hashjoin-dbg: hashjoin.cc + $(CXX) -g3 + +hashjoin-opt: hashjoin.cc + $(CXX) -O3 + clean: - rm -f hashjoin + rm -f hashjoin-opt hashjoin-dbg -.PHONY: clean +.PHONY: clean dbg opt This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <yan...@us...> - 2008-02-07 18:43:49
|
Revision: 339 http://assorted.svn.sourceforge.net/assorted/?rev=339&view=rev Author: yangzhang Date: 2008-02-07 10:43:54 -0800 (Thu, 07 Feb 2008) Log Message: ----------- oops Modified Paths: -------------- hash-join/trunk/src/Makefile Modified: hash-join/trunk/src/Makefile =================================================================== --- hash-join/trunk/src/Makefile 2008-02-07 18:42:39 UTC (rev 338) +++ hash-join/trunk/src/Makefile 2008-02-07 18:43:54 UTC (rev 339) @@ -7,7 +7,7 @@ pg: hashjoin-pg hashjoin-pg: hashjoin.cc - $(CXX) -pg + $(CXX) -g -pg hashjoin-dbg: hashjoin.cc $(CXX) -g3 @@ -16,6 +16,6 @@ $(CXX) -O3 clean: - rm -f hashjoin-opt hashjoin-dbg + rm -f hashjoin-opt hashjoin-dbg hashjoin-pg .PHONY: clean dbg opt This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <yan...@us...> - 2008-02-09 06:02:25
|
Revision: 341 http://assorted.svn.sourceforge.net/assorted/?rev=341&view=rev Author: yangzhang Date: 2008-02-08 22:02:28 -0800 (Fri, 08 Feb 2008) Log Message: ----------- added benchmarker to makefile Modified Paths: -------------- hash-join/trunk/src/Makefile Modified: hash-join/trunk/src/Makefile =================================================================== --- hash-join/trunk/src/Makefile 2008-02-09 05:11:38 UTC (rev 340) +++ hash-join/trunk/src/Makefile 2008-02-09 06:02:28 UTC (rev 341) @@ -6,16 +6,21 @@ opt: hashjoin-opt pg: hashjoin-pg +bench: hashjoin-opt + for i in 1 `seq 2 2 16` `seq 24 8 64` ; do \ + ./hashjoin-opt $$i $(MOVIEDATA)/movies.dat $(MOVIEDATA)/actresses.dat ; \ + done > log 2>&1 + hashjoin-pg: hashjoin.cc $(CXX) -g -pg hashjoin-dbg: hashjoin.cc - $(CXX) -g3 + $(CXX) -g3 -fno-omit-frame-pointer hashjoin-opt: hashjoin.cc - $(CXX) -O3 + $(CXX) -g -O3 -fno-omit-frame-pointer clean: rm -f hashjoin-opt hashjoin-dbg hashjoin-pg -.PHONY: clean dbg opt +.PHONY: clean dbg opt pg bench This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <yan...@us...> - 2008-02-09 19:37:18
|
Revision: 343 http://assorted.svn.sourceforge.net/assorted/?rev=343&view=rev Author: yangzhang Date: 2008-02-09 11:37:17 -0800 (Sat, 09 Feb 2008) Log Message: ----------- fixed up for binutils list post Modified Paths: -------------- hash-join/trunk/src/Makefile Modified: hash-join/trunk/src/Makefile =================================================================== --- hash-join/trunk/src/Makefile 2008-02-09 16:06:45 UTC (rev 342) +++ hash-join/trunk/src/Makefile 2008-02-09 19:37:17 UTC (rev 343) @@ -1,31 +1,39 @@ -CFLAGS := -Wall -lprofiler -lpthread -CXX = g++ $(CFLAGS) -o $@ $^ +TARGET := hashjoin +SRCS := hashjoin.cc +### begin common makefrag + +CFLAGS := -Wall -lpthread # -lprofiler + +CXX = g++ $(CFLAGS) -o $@ $^ + all: opt dbg pg -dbg: hashjoin-dbg -opt: hashjoin-opt -pg: hashjoin-pg +dbg: $(TARGET)-dbg +opt: $(TARGET)-opt +pg: $(TARGET)-pg -bench: hashjoin-opt - for i in 1 `seq 2 2 16` `seq 24 8 64` ; do \ - ./hashjoin-opt $$i $(MOVIEDATA)/movies.dat $(MOVIEDATA)/actresses.dat ; \ - done > log 2>&1 - -hashjoin-pg: hashjoin.cc +$(TARGET)-pg: $(SRCS) $(CXX) -g -pg -hashjoin-dbg: hashjoin.cc +$(TARGET)-dbg: $(SRCS) $(CXX) -g3 -fno-omit-frame-pointer -hashjoin-opt: hashjoin.cc +$(TARGET)-opt: $(SRCS) $(CXX) -g -O3 -fno-omit-frame-pointer doc: doc/html/index.html -doc/html/index.html: hashjoin.cc +doc/html/index.html: $(SRCS) Doxyfile doxygen clean: - rm -f hashjoin-opt hashjoin-dbg hashjoin-pg doc + rm -rf $(TARGET)-opt $(TARGET)-dbg $(TARGET)-pg doc .PHONY: clean dbg opt pg bench doc + +### end common makefrag + +bench: $(TARGET)-opt + for i in 1 `seq 2 2 16` `seq 24 8 64` ; do \ + ./$(TARGET)-opt $$i $(MOVIEDATA)/movies.dat $(MOVIEDATA)/actresses.dat ; \ + done > log 2>&1 This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <yan...@us...> - 2008-02-11 04:52:15
|
Revision: 357 http://assorted.svn.sourceforge.net/assorted/?rev=357&view=rev Author: yangzhang Date: 2008-02-10 20:52:20 -0800 (Sun, 10 Feb 2008) Log Message: ----------- tweaks Modified Paths: -------------- hash-join/trunk/src/Makefile Modified: hash-join/trunk/src/Makefile =================================================================== --- hash-join/trunk/src/Makefile 2008-02-10 21:48:17 UTC (rev 356) +++ hash-join/trunk/src/Makefile 2008-02-11 04:52:20 UTC (rev 357) @@ -5,23 +5,30 @@ CFLAGS := -I. -Wall -lpthread # -lprofiler -CXX = g++ $(CFLAGS) -o $@ $^ +CXX = g++ $(CFLAGS) -o $@ $< all: pg dbg: $(TARGET)-dbg opt: $(TARGET)-opt pg: $(TARGET)-pg +pg-opt: $(TARGET)-pg-opt goo: $(TARGET)-goo $(TARGET)-pg: $(SRCS) - $(CXX) -g -pg + $(CXX) -pg +$(TARGET)-pg-opt: $(SRCS) + $(CXX) -pg -O3 + $(TARGET)-dbg: $(SRCS) - $(CXX) -g3 -fno-omit-frame-pointer + $(CXX) -g3 $(TARGET)-opt: $(SRCS) $(CXX) -g -O3 -fno-omit-frame-pointer +$(TARGET)-goo: $(SRCS) + $(CXX) -lprofile + doc: doc/html/index.html doc/html/index.html: $(SRCS) Doxyfile This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <yan...@us...> - 2008-02-16 21:40:19
|
Revision: 460 http://assorted.svn.sourceforge.net/assorted/?rev=460&view=rev Author: yangzhang Date: 2008-02-16 13:40:25 -0800 (Sat, 16 Feb 2008) Log Message: ----------- removed commons symlink from src makefile Modified Paths: -------------- hash-join/trunk/src/Makefile Modified: hash-join/trunk/src/Makefile =================================================================== --- hash-join/trunk/src/Makefile 2008-02-16 21:39:51 UTC (rev 459) +++ hash-join/trunk/src/Makefile 2008-02-16 21:40:25 UTC (rev 460) @@ -1,5 +1,5 @@ TARGET := hashjoin -SRCS := hashjoin.cc $(wildcard commons/*.h) +SRCS := hashjoin.cc export TARGET ### begin common makefrag This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |