Skip to content

Commit

Permalink
Fix various '.gitignore' files and add previously ignored Makefiles
Browse files Browse the repository at this point in the history
  • Loading branch information
igl42 committed Aug 23, 2012
1 parent d105dfb commit 3fe8ca2
Show file tree
Hide file tree
Showing 55 changed files with 6,369 additions and 7 deletions.
5 changes: 2 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
Makefile
!*/Makefile
*.cfg
/Makefile
/*.cfg

4 changes: 2 additions & 2 deletions blazemark/.gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
Makefile
*.cfg
/Makefile
/*.cfg

68 changes: 68 additions & 0 deletions blazemark/src/armadillo/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
#==================================================================================================
#
# Makefile for the Armadillo module of the Blaze benchmark suite
#
# Copyright (C) 2011 Klaus Iglberger - All Rights Reserved
#
# This file is part of the Blaze library. This library is free software; you can redistribute
# it and/or modify it under the terms of the GNU General Public License as published by the
# Free Software Foundation; either version 3, or (at your option) any later version.
#
# This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
# without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
# See the GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License along with a special
# exception for linking and compiling against the Blaze library, the so-called "runtime
# exception"; see the file COPYING. If not, see http://www.gnu.org/licenses/.
#
#==================================================================================================


# Module
MODULE = ARMADILLO


# Includes
CXXFLAGS += -I$(INSTALL_PATH)
ifneq ($(BLAZE_INCLUDE_PATH),)
CXXFLAGS += -isystem $(BLAZE_INCLUDE_PATH)
endif
ifneq ($(BOOST_INCLUDE_PATH),)
CXXFLAGS += -isystem $(BOOST_INCLUDE_PATH)
endif
ifneq ($(BLAS_INCLUDE_PATH),)
CXXFLAGS += -isystem $(BLAS_INCLUDE_PATH)
endif
ifneq ($(ARMADILLO_INCLUDE_PATH),)
CXXFLAGS += -isystem $(ARMADILLO_INCLUDE_PATH)
endif


# Setting the source, object and dependency files
SRC = $(wildcard ./*.cpp)
OBJ = $(SRC:.cpp=.o)
DEP = $(SRC:.cpp=.d)


# Rules
default: $(OBJ)
@$(foreach dir,$(OBJ),cp -p $(dir) $(OBJECT_PATH)/$(MODULE)_$(notdir $(dir));)

clean:
@$(RM) $(OBJ) $(DEP)


# Makefile includes
ifneq ($(MAKECMDGOALS),clean)
-include $(DEP)
endif


# Makefile generation
%.d: %.cpp
@$(CXX) -MM -MP -MT "$*.o $*.d" -MF $@ $(CXXFLAGS) $<


# Setting the independent commands
.PHONY: default clean
65 changes: 65 additions & 0 deletions blazemark/src/blas/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
#==================================================================================================
#
# Makefile for the BLAS module of the Blaze benchmark suite
#
# Copyright (C) 2011 Klaus Iglberger - All Rights Reserved
#
# This file is part of the Blaze library. This library is free software; you can redistribute
# it and/or modify it under the terms of the GNU General Public License as published by the
# Free Software Foundation; either version 3, or (at your option) any later version.
#
# This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
# without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
# See the GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License along with a special
# exception for linking and compiling against the Blaze library, the so-called "runtime
# exception"; see the file COPYING. If not, see http://www.gnu.org/licenses/.
#
#==================================================================================================


# Module
MODULE = BLAS


# Includes
CXXFLAGS += -I$(INSTALL_PATH)
ifneq ($(BLAZE_INCLUDE_PATH),)
CXXFLAGS += -isystem $(BLAZE_INCLUDE_PATH)
endif
ifneq ($(BOOST_INCLUDE_PATH),)
CXXFLAGS += -isystem $(BOOST_INCLUDE_PATH)
endif
ifneq ($(BLAS_INCLUDE_PATH),)
CXXFLAGS += -isystem $(BLAS_INCLUDE_PATH)
endif


# Setting the source, object and dependency files
SRC = $(wildcard ./*.cpp)
OBJ = $(SRC:.cpp=.o)
DEP = $(SRC:.cpp=.d)


# Rules
default: $(OBJ)
@$(foreach dir,$(OBJ),cp -p $(dir) $(OBJECT_PATH)/$(MODULE)_$(notdir $(dir));)

clean:
@$(RM) $(OBJ) $(DEP)


# Makefile includes
ifneq ($(MAKECMDGOALS),clean)
-include $(DEP)
endif


# Makefile generation
%.d: %.cpp
@$(CXX) -MM -MP -MT "$*.o $*.d" -MF $@ $(CXXFLAGS) $<


# Setting the independent commands
.PHONY: default clean
65 changes: 65 additions & 0 deletions blazemark/src/blaze/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
#==================================================================================================
#
# Makefile for the Blaze module of the Blaze benchmark suite
#
# Copyright (C) 2011 Klaus Iglberger - All Rights Reserved
#
# This file is part of the Blaze library. This library is free software; you can redistribute
# it and/or modify it under the terms of the GNU General Public License as published by the
# Free Software Foundation; either version 3, or (at your option) any later version.
#
# This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
# without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
# See the GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License along with a special
# exception for linking and compiling against the Blaze library, the so-called "runtime
# exception"; see the file COPYING. If not, see http://www.gnu.org/licenses/.
#
#==================================================================================================


# Module
MODULE = BLAZE


# Includes
CXXFLAGS += -I$(INSTALL_PATH)
ifneq ($(BLAZE_INCLUDE_PATH),)
CXXFLAGS += -isystem $(BLAZE_INCLUDE_PATH)
endif
ifneq ($(BOOST_INCLUDE_PATH),)
CXXFLAGS += -isystem $(BOOST_INCLUDE_PATH)
endif
ifneq ($(BLAS_INCLUDE_PATH),)
CXXFLAGS += -isystem $(BLAS_INCLUDE_PATH)
endif


# Setting the source, object and dependency files
SRC = $(wildcard ./*.cpp)
OBJ = $(SRC:.cpp=.o)
DEP = $(SRC:.cpp=.d)


# Rules
default: $(OBJ)
@$(foreach dir,$(OBJ),cp -p $(dir) $(OBJECT_PATH)/$(MODULE)_$(notdir $(dir));)

clean:
@$(RM) $(OBJ) $(DEP)


# Makefile includes
ifneq ($(MAKECMDGOALS),clean)
-include $(DEP)
endif


# Makefile generation
%.d: %.cpp
@$(CXX) -MM -MP -MT "$*.o $*.d" -MF $@ $(CXXFLAGS) $<


# Setting the independent commands
.PHONY: default clean
68 changes: 68 additions & 0 deletions blazemark/src/blitz/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
#==================================================================================================
#
# Makefile for the Blitz++ module of the Blaze benchmark suite
#
# Copyright (C) 2011 Klaus Iglberger - All Rights Reserved
#
# This file is part of the Blaze library. This library is free software; you can redistribute
# it and/or modify it under the terms of the GNU General Public License as published by the
# Free Software Foundation; either version 3, or (at your option) any later version.
#
# This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
# without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
# See the GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License along with a special
# exception for linking and compiling against the Blaze library, the so-called "runtime
# exception"; see the file COPYING. If not, see http://www.gnu.org/licenses/.
#
#==================================================================================================


# Module
MODULE = BLITZ


# Includes
CXXFLAGS += -I$(INSTALL_PATH)
ifneq ($(BLAZE_INCLUDE_PATH),)
CXXFLAGS += -isystem $(BLAZE_INCLUDE_PATH)
endif
ifneq ($(BOOST_INCLUDE_PATH),)
CXXFLAGS += -isystem $(BOOST_INCLUDE_PATH)
endif
ifneq ($(BLAS_INCLUDE_PATH),)
CXXFLAGS += -isystem $(BLAS_INCLUDE_PATH)
endif
ifneq ($(BLITZ_INCLUDE_PATH),)
CXXFLAGS += -isystem $(BLITZ_INCLUDE_PATH)
endif


# Setting the source, object and dependency files
SRC = $(wildcard ./*.cpp)
OBJ = $(SRC:.cpp=.o)
DEP = $(SRC:.cpp=.d)


# Rules
default: $(OBJ)
@$(foreach dir,$(OBJ),cp -p $(dir) $(OBJECT_PATH)/$(MODULE)_$(notdir $(dir));)

clean:
@$(RM) $(OBJ) $(DEP)


# Makefile includes
ifneq ($(MAKECMDGOALS),clean)
-include $(DEP)
endif


# Makefile generation
%.d: %.cpp
@$(CXX) -MM -MP -MT "$*.o $*.d" -MF $@ $(CXXFLAGS) $<


# Setting the independent commands
.PHONY: default clean
65 changes: 65 additions & 0 deletions blazemark/src/boost/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
#==================================================================================================
#
# Makefile for the Boost module of the Blaze benchmark suite
#
# Copyright (C) 2011 Klaus Iglberger - All Rights Reserved
#
# This file is part of the Blaze library. This library is free software; you can redistribute
# it and/or modify it under the terms of the GNU General Public License as published by the
# Free Software Foundation; either version 3, or (at your option) any later version.
#
# This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
# without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
# See the GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License along with a special
# exception for linking and compiling against the Blaze library, the so-called "runtime
# exception"; see the file COPYING. If not, see http://www.gnu.org/licenses/.
#
#==================================================================================================


# Module
MODULE = BOOST


# Includes
CXXFLAGS += -I$(INSTALL_PATH)
ifneq ($(BLAZE_INCLUDE_PATH),)
CXXFLAGS += -isystem $(BLAZE_INCLUDE_PATH)
endif
ifneq ($(BOOST_INCLUDE_PATH),)
CXXFLAGS += -isystem $(BOOST_INCLUDE_PATH)
endif
ifneq ($(BLAS_INCLUDE_PATH),)
CXXFLAGS += -isystem $(BLAS_INCLUDE_PATH)
endif


# Setting the source, object and dependency files
SRC = $(wildcard ./*.cpp)
OBJ = $(SRC:.cpp=.o)
DEP = $(SRC:.cpp=.d)


# Rules
default: $(OBJ)
@$(foreach dir,$(OBJ),cp -p $(dir) $(OBJECT_PATH)/$(MODULE)_$(notdir $(dir));)

clean:
@$(RM) $(OBJ) $(DEP)


# Makefile includes
ifneq ($(MAKECMDGOALS),clean)
-include $(DEP)
endif


# Makefile generation
%.d: %.cpp
@$(CXX) -MM -MP -MT "$*.o $*.d" -MF $@ $(CXXFLAGS) $<


# Setting the independent commands
.PHONY: default clean
Loading

0 comments on commit 3fe8ca2

Please sign in to comment.