Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F97290418
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, Jan 4, 02:32
Size
591 B
Mime Type
text/x-c
Expires
Mon, Jan 6, 02:32 (1 d, 23 h)
Engine
blob
Format
Raw Data
Handle
23373722
Attached To
rLAMMPS lammps
Makefile.solaris
View Options
# solaris = Sun box, c++, no MPI, no FFTs
SHELL = /bin/sh
# System-specific settings
CC = c++
CCFLAGS = -O -I../STUBS -DFFT_NONE
DEPFLAGS = -M
LINK = c++
LINKFLAGS = -O -L../STUBS
USRLIB = -lmpi
SYSLIB =
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