- cleaned up makefiles

SKIPPED:
	psi/tecs/pg_plus/make_gen
	psi/tecs/pg_plus/makefile
	psi/tecs/pg_plus/makefile_linux
	psi/tecs/pg_plus/makefile_macosx
This commit is contained in:
zolliker
2005-03-08 11:12:03 +00:00
parent f603985860
commit 6eeac106eb
8 changed files with 9 additions and 59 deletions

View File

@ -6,9 +6,6 @@
.SUFFIXES: .SUFFIXES:
.SUFFIXES: .c .o .f .SUFFIXES: .c .o .f
VPATH=$(SRC)
ROOT=..
OBJ=dummy.o OBJ=dummy.o
all: libdummy.a all: libdummy.a

View File

@ -1,15 +1,6 @@
# Forwards the execution to a version specific makefile.
# SICS_VERSION must be defined, else usage is printed
# M. Zolliker 03.2005 # M. Zolliker 03.2005
VERS_UNDEFINED= default:
VERS_UNDEFINED$(SICS_VERSION)=version_undefined
INCL_MF=makefile_$(SICS_VERSION)
-include $(INCL_MF)
version_undefined:
@ echo "" @ echo ""
@ echo "Usage:" @ echo "Usage:"
@ echo "" @ echo ""
@ -18,17 +9,4 @@ version_undefined:
@ echo ' where makefile_xxx is one of' @ echo ' where makefile_xxx is one of'
@ echo "" @ echo ""
@ ls -1 makefile_* | pr -t -o 4 @ ls -1 makefile_* | pr -t -o 4
@ echo ""
@ echo "Or, more convenient, define the following in the login script"
@ echo ""
@ echo " setenv SICS_VERSION version_xxx (assume we are using tcsh)"
@ echo ""
@ echo " where version_xxx is one of"
@ echo ""
@ ls -1 makefile_* | cut -b 10-99 | pr -t -o 4
@ echo ""
@ echo "and then use simply"
@ echo ""
@ echo " make [target]"
@ echo ""

View File

@ -6,7 +6,7 @@
#-------------------------------------------------------------------------- #--------------------------------------------------------------------------
CC = cc CC = cc
CFLAGS = -std1 -g $(DFORTIFY) -I$(SRC).. CFLAGS = -std1 -g $(DFORTIFY) -I..
DUMMY=_dummy DUMMY=_dummy
include ../alpha_def include ../alpha_def

View File

@ -6,8 +6,8 @@
#-------------------------------------------------------------------------- #--------------------------------------------------------------------------
CC = gcc CC = gcc
CFLAGS = -g $(DFORTIFY) -I../$(SRC) CFLAGS = -g $(DFORTIFY) -I..
DUMMY=_dummy DUMMY=_dummy
include ../$(SRC)linux_def include ../linux_def
include $(SRC)make_gen include make_gen

View File

@ -4,9 +4,6 @@
# Mark Koennecke, November 1996 # Mark Koennecke, November 1996
#-------------------------------------------------------------------------- #--------------------------------------------------------------------------
VPATH=$(SRC)
ROOT=..
OBJ= matadd.o matcreat.o matdet.o matdump.o matdurbn.o materr.o \ OBJ= matadd.o matcreat.o matdet.o matdump.o matdurbn.o materr.o \
matinv.o matmul.o matsolve.o matsub.o matsubx.o mattoepz.o \ matinv.o matmul.o matsolve.o matsub.o matsubx.o mattoepz.o \
mattran.o mattran.o

View File

@ -1,15 +1,6 @@
# Forwards the execution to a version specific makefile.
# SICS_VERSION must be defined, else usage is printed
# M. Zolliker 03.2005 # M. Zolliker 03.2005
VERS_UNDEFINED= default:
VERS_UNDEFINED$(SICS_VERSION)=version_undefined
INCL_MF=makefile_$(SICS_VERSION)
-include $(INCL_MF)
version_undefined:
@ echo "" @ echo ""
@ echo "Usage:" @ echo "Usage:"
@ echo "" @ echo ""
@ -18,17 +9,4 @@ version_undefined:
@ echo ' where makefile_xxx is one of' @ echo ' where makefile_xxx is one of'
@ echo "" @ echo ""
@ ls -1 makefile_* | pr -t -o 4 @ ls -1 makefile_* | pr -t -o 4
@ echo ""
@ echo "Or, more convenient, define the following in the login script"
@ echo ""
@ echo " setenv SICS_VERSION version_xxx (assume we are using tcsh)"
@ echo ""
@ echo " where version_xxx is one of"
@ echo ""
@ ls -1 makefile_* | cut -b 10-99 | pr -t -o 4
@ echo ""
@ echo "and then use simply"
@ echo ""
@ echo " make [target]"
@ echo ""

View File

@ -6,9 +6,9 @@
# Markus Zolliker, March 2003 # Markus Zolliker, March 2003
#-------------------------------------------------------------------------- #--------------------------------------------------------------------------
include ../$(SRC)linux_def include ../linux_def
CC = gcc CC = gcc
CFLAGS = -g $(DFORTIFY) CFLAGS = -g $(DFORTIFY)
include $(SRC)make_gen include make_gen

View File

@ -1,2 +1,2 @@
DUMMY=_dummy DUMMY=_dummy
include $(SRC)makefile_linux include makefile_linux