Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F100789246
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
Sun, Feb 2, 18:51
Size
768 B
Mime Type
text/x-c
Expires
Tue, Feb 4, 18:51 (1 d, 23 h)
Engine
blob
Format
Raw Data
Handle
24031612
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 not needed if LAMMPS Fortran libs not used
include Makefile.package
CC = c++
CCFLAGS = $(PKGINC) -O -I../STUBS -DFFT_NONE
DEPFLAGS = -M
LINK = c++
LINKFORT =
LINKFLAGS = $(PKGPATH) $(LINKFORT) -O -L../STUBS
USRLIB = $(PKGLIB) -lmpi
FORTLIB =
SYSLIB =$(FORTLIB)
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