Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F92742558
Makefile.solaris
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Sat, Nov 23, 08:27
Size
986 B
Mime Type
text/x-c
Expires
Mon, Nov 25, 08:27 (1 d, 23 h)
Engine
blob
Format
Raw Data
Handle
22503665
Attached To
rLAMMPS lammps
Makefile.solaris
View Options
# solaris = Sun box, c++, no MPI, no FFTs
SHELL = /bin/sh
# System-specific settings
# LINKFORT/FORTLIB settings can be removed if not using meam or reax packages
# LINKBLAS/BLASLIB settings can be removed if not using user-atc package
# LINKGPU/GPULIB settings can be removed if not using gpu package
include Makefile.package
CC = c++
CCFLAGS = $(PKGINC) -O -I../STUBS -DFFT_NONE
DEPFLAGS = -M
LINK = c++
LINKFORT =
LINKBLAS =
LINKGPU =
LINKFLAGS = $(PKGPATH) $(LINKFORT) $(LINKBLAS) $(LINKGPU)
USRLIB = $(PKGLIB) -lmpi
FORTLIB =
BLASLIB =
GPULIB =
SYSLIB =$(FORTLIB) $(BLASLIB) $(GPULIB)
ARCHIVE = ar
ARFLAGS = -rc
SIZE = size
# Link target
$(EXE): $(OBJ)
$(LINK) $(LINKFLAGS) $(OBJ) $(USRLIB) $(SYSLIB) -o $(EXE)
$(SIZE) $(EXE)
# Library target
lib: $(OBJ)
$(ARCHIVE) $(ARFLAGS) $(EXE) $(OBJ)
# Compilation rules
%.o:%.cpp
$(CC) $(CCFLAGS) -c $<
%.d:%.cpp
$(CC) $(CCFLAGS) $(DEPFLAGS) $< > $@
# Individual dependencies
$(OBJ): $(INC)
#include $(DEPENDS)
Event Timeline
Log In to Comment