- cleaned up makefiles
This commit is contained in:
@ -4,8 +4,6 @@
|
|||||||
.SUFFIXES:
|
.SUFFIXES:
|
||||||
.SUFFIXES: .o .c .f
|
.SUFFIXES: .o .c .f
|
||||||
|
|
||||||
VPATH=$(SRC)
|
|
||||||
|
|
||||||
OBJ= pgqinf.o pgband.o ttdriv.o xwdriv.o grtermio.o vtdriv.o
|
OBJ= pgqinf.o pgband.o ttdriv.o xwdriv.o grtermio.o vtdriv.o
|
||||||
|
|
||||||
all: $(OBJ)
|
all: $(OBJ)
|
||||||
|
@ -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 ""
|
|
||||||
|
|
||||||
|
@ -6,4 +6,4 @@ ORIG=/afs/psi.ch/project/sinq/linux/distsrc/pgplot
|
|||||||
FFLAGS=-g -Wimplicit -Wall -g -I$(ORIG)
|
FFLAGS=-g -Wimplicit -Wall -g -I$(ORIG)
|
||||||
CFLAGS=-g -DPG_PPU -I. -I/usr/X11R6/include
|
CFLAGS=-g -DPG_PPU -I. -I/usr/X11R6/include
|
||||||
|
|
||||||
include $(SRC)make_gen
|
include make_gen
|
||||||
|
@ -6,4 +6,4 @@ ORIG=/sw/lib/pgplot/
|
|||||||
FFLAGS=-g -Wimplicit -Wall -g -I$(ORIG)
|
FFLAGS=-g -Wimplicit -Wall -g -I$(ORIG)
|
||||||
CFLAGS=-g -DPG_PPU -I. -I/usr/X11R6/include
|
CFLAGS=-g -DPG_PPU -I. -I/usr/X11R6/include
|
||||||
|
|
||||||
include $(SRC)make_gen
|
include make_gen
|
||||||
|
Reference in New Issue
Block a user