summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorTim Besard <tim.besard@gmail.com>2011-10-27 16:51:48 +0200
committerTim Besard <tim.besard@gmail.com>2011-10-27 16:51:48 +0200
commit122d27347290ff066635bc3005a332d9574bedb2 (patch)
tree32dfc9e9dfc73503606e85a5f469470486e841ee /Makefile
parenta52db2ab61b21fe7721419747b96e1689c9069a0 (diff)
Cleaning up the code a bit.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile63
1 files changed, 0 insertions, 63 deletions
diff --git a/Makefile b/Makefile
deleted file mode 100644
index 9ae95b9..0000000
--- a/Makefile
+++ /dev/null
@@ -1,63 +0,0 @@
-
-#
-# BIT = { 32 | 64 }
-# MODE = { NUMA | SMP }
-#
-ifndef BIT
-BIT = 64
-endif
-ifndef MODE
-MODE = NUMA
-endif
-ifeq ($(MODE), NUMA)
-LIB = -lpthread -lnuma
-else
-LIB = -lpthread
-endif
-
-SRC = Main.C Chain.C Experiment.C Lock.C Output.C Run.C SpinBarrier.C Timer.C Thread.C Types.C
-HDR = $(SRC:.C=.h)
-OBJ = $(SRC:.C=.o)
-EXE = pChase$(BIT)_$(MODE)
-HYPDIR = /web/hypercomputing.org/www/doc/Guest/pChase
-PCHDIR = /web/pchase.org/www/doc/Guest/pChase
-TARFILE = tgz/pChase-`date +"%Y-%m-%d"`.tgz
-
-RM = /bin/rm
-MV = /bin/mv
-CI = /usr/bin/ci
-CO = /usr/bin/co
-CP = /bin/cp
-TAR = /bin/tar
-
-CXXFLAGS= -O3 -m$(BIT) -D$(MODE)
-
-.C.o:
- $(CXX) -c $(CXXFLAGS) $<
-
-$(EXE): $(OBJ)
- $(CXX) -o $(EXE) $(CXXFLAGS) $(OBJ) $(LIB)
-
-$(OBJ): $(HDR)
-
-rmexe:
- $(RM) -rf $(EXE)
-
-rmobj:
- $(RM) -rf $(OBJ)
-
-ci:
- $(CI) -f $(SRC) $(HDR) Makefile
-
-co:
- $(CO) -l $(SRC) $(HDR) Makefile
-
-tar:
- $(TAR) -cvzf $(TARFILE) $(SRC) $(HDR) Makefile License.htm License.txt pChase.sh run-pChase.sh
-
-cptar:
- $(TAR) -cvzf $(TARFILE) $(SRC) $(HDR) Makefile License.htm License.txt pChase.sh run-pChase.sh
- $(CP) $(TARFILE) $(HYPDIR)/tgz
- $(CP) $(SRC) $(HDR) Makefile License.htm License.txt pChase.sh run-pChase.sh $(HYPDIR)
- $(CP) $(TARFILE) $(PCHDIR)/tgz
- $(CP) $(SRC) $(HDR) Makefile License.htm License.txt pChase.sh run-pChase.sh $(PCHDIR)