mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-12-28 03:37:59 +00:00
ENH: link to general mplib* rules where possible.
ENH: generalize rule for X11 ENH: Avoid move in flex/flex++ rule.
This commit is contained in:
5
wmake/rules/General/X
Normal file
5
wmake/rules/General/X
Normal file
@ -0,0 +1,5 @@
|
||||
# X11 includes and libraries in the standard location
|
||||
#
|
||||
XFLAGS =
|
||||
XINC = $(XFLAGS) -I/usr/include/X11
|
||||
XLIBS = -lXext -lX11
|
||||
@ -1,6 +1,6 @@
|
||||
.SUFFIXES: .l
|
||||
|
||||
ltoo = flex $$SOURCE ; mv lex.yy.c $*.c ; $(cc) $(cFLAGS) -c $*.c -o $@
|
||||
ltoo = flex -o $*.c $$SOURCE ; $(cc) $(cFLAGS) -c $*.c -o $@
|
||||
|
||||
.l.dep:
|
||||
$(MAKE_DEP)
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
.SUFFIXES: .L
|
||||
|
||||
Ltoo = flex -+ -f $$SOURCE ; mv lex.yy.cc $*.C ; $(CC) $(c++FLAGS) -c $*.C -o $@
|
||||
Ltoo = flex -+ -o $*.C -f $$SOURCE ; $(CC) $(c++FLAGS) -c $*.C -o $@
|
||||
|
||||
.L.dep:
|
||||
$(MAKE_DEP)
|
||||
|
||||
@ -1,6 +0,0 @@
|
||||
.SUFFIXES: .L
|
||||
|
||||
Ltoo = flex++ $$SOURCE ; mv lex.yy.cc $*.C ; $(CC) $(c++FLAGS) -c $*.C -o $@
|
||||
|
||||
.L.dep:
|
||||
$(MAKE_DEP)
|
||||
3
wmake/rules/General/mplib
Normal file
3
wmake/rules/General/mplib
Normal file
@ -0,0 +1,3 @@
|
||||
PFLAGS =
|
||||
PINC =
|
||||
PLIBS =
|
||||
3
wmake/rules/General/mplibGAMMA
Normal file
3
wmake/rules/General/mplibGAMMA
Normal file
@ -0,0 +1,3 @@
|
||||
PFLAGS =
|
||||
PINC = -I$(MPI_ARCH_PATH)/include
|
||||
PLIBS = -L$(MPI_ARCH_PATH)/lib -lgamma
|
||||
@ -1,3 +1,3 @@
|
||||
PFLAGS =
|
||||
PFLAGS = -DMPICH_SKIP_MPICXX
|
||||
PINC = -I$(MPI_ARCH_PATH)/include
|
||||
PLIBS = -L$(MPI_ARCH_PATH)/lib -lmpich -lrt
|
||||
|
||||
3
wmake/rules/General/mplibMPICH-GM
Normal file
3
wmake/rules/General/mplibMPICH-GM
Normal file
@ -0,0 +1,3 @@
|
||||
PFLAGS =
|
||||
PINC = -I$(MPI_ARCH_PATH)/include
|
||||
PLIBS = -L$(MPI_ARCH_PATH)/lib -lmpich -L$(GM_LIB_PATH) -lgm
|
||||
4
wmake/rules/General/mplibQSMPI
Normal file
4
wmake/rules/General/mplibQSMPI
Normal file
@ -0,0 +1,4 @@
|
||||
PFLAGS =
|
||||
PINC = -I$(MPI_ARCH_PATH)/include
|
||||
PLIBS = -L$(MPI_ARCH_PATH)/lib -lmpi
|
||||
|
||||
Reference in New Issue
Block a user