Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F106634109
Makefile
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, Mar 29, 00:31
Size
622 B
Mime Type
text/x-makefile
Expires
Mon, Mar 31, 01:31 (2 d)
Engine
blob
Format
Raw Data
Handle
25240230
Attached To
rGEAR Gear
Makefile
View Options
CC = gcc
CXX = g++
CFLAGS = -Wall
GRACKLE_DEFINES = -DLARGE_INTS -DCONFIG_BFLOAT_8
GRACKLE_INCLUDE = -I ~/local/include/
GRACKLE_LIB = -L ~/local/lib -lgrackle
all: cool.exe grackle_wrapper.o
grackle_wrapper.o: grackle_wrapper.cxx grackle_wrapper.h
$(CXX) -lm $(CFLAGS) $(INCLUDES) -I. $(GRACKLE_INCLUDE) -o $@ -c ./$(*F).cxx $(GRACKLE_DEFINES)
cooling_grackle.exe: grackle_wrapper.o cooling_grackle.c grackle_wrapper.h
$(CC) -lm $(CFLAGS) -I. $(INCLUDES) -DCOOLING_GRACKLE grackle_wrapper.o cooling_grackle.c -o cooling_grackle.exe $(GRACKLE_LIB)
clean:
-@rm -f *.o *.mod *.f *.f90 *~ cooling_grackle.exe
Event Timeline
Log In to Comment