-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathJamfile
100 lines (81 loc) · 2.8 KB
/
Jamfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
TOP = . ;
GRAPHICS_USE_TEXTURE = 1 ;
GRAPHICS_USE_SHADER = 1 ;
GRAPHICS_USE_JPEG = 1 ;
SDL2 = 1 ;
SubDir TOP ;
SubIncludeUtil ;
MySubDir TOP ;
NAMES = Frame hack Mode PresHack HQ String Item Image Equation Module DisplayModule SliderModule InputModule ColorModule XYGraphModule Animation ManyDGraphModule GraphModule
#for video:
VideoModule VidStream
#for gt retreat talk:
#BallModule ArmModule AnglesModule CoordsModule CurveModule IKModule PhysicsModule ClockModule
#for siggraph talk:
# JoystickModule MotionModule GameModule LevelModule ControllerModule FragmentModule TransitionModule ControlQualityModule BinModule TraceModule ModelModule RewardModule PolicyModule
# GameStuff Cache ReflectionDistance
#for infinity talk:
#PlaneModule ProjectionModule ConformalModule
#for gradient talk:
#DiskModule GradientStuff FFTPaintModule
#for raytracing talk:
# Ray2dModule
#for EG talk:
# PathModule
#for gradient paint talk:
GP_GeneralPaintModule GP_SimplePaintModule GP_VCycle GP_Stroke GP_TexViewerModule GP_IterModule GP_RHSModule GP_AddModule GP_ResidualModule GP_RestrictModule GP_ProjectModule
#for siggraph pre-talk-thing:
#nothing!
#for local layering talk;
LL_LayeringModule LL_Obj LL_ListGraph LL_Dialog LL_Regions LL_Code LL_Anim
#for Poisson lab meeting
# Poisson
#for Soft Stacking in job talk:
# SP_Paint
#for BoLeRO talk:
#BL_csv BL_lengths
#for real Soft Stacking:
# SS_Canvas SS_coefs SS_Constraint
# SS_optimizer SS_OptCanvas
# SS_Volume
#gaussian interpolation:
# GI_StepModule
# GI_Paint
# PoissonTiming
#for unbaked talk:
PhysicsAnimation
;
Objects $(NAMES:S=.cpp) ;
if $(OS) = MACOSX {
MKLROOT = /opt/intel/Compiler/11.1/089/Frameworks/mkl ;
} else {
MKLROOT = /opt/intel/mkl/10.0.5.025 ;
}
MKLPATH = $(MKLROOT)/lib/em64t ;
MKLINCLUDE = $(MKLROOT)/include ;
ObjectC++Flags $(NAMES) : $(SDLC++FLAGS) -DATI_HACK -I/opt/local/include -I$(MKLINCLUDE) -Wno-unused-function ;
UtilFlags $(NAMES) ;
ObjectC++Flags GradientStuff FFTPaintModule : -I../fftw-3.1.2/api ;
FFMPEGC++FLAGS = ;
FFMPEGLINKLIBS = -lavcodec -lavformat -lswscale -lavutil ;
ObjectC++Flags VidStream.cpp VideoModule.cpp : $(FFMPEGC++FLAGS) ;
EXECNAME = hack ;
LINKLIBS on $(EXECNAME) +=
$(FFMPEGLINKLIBS)
-ljpeg
#"`sdl-config --libs`" $(GRAPHICS_LIBS)
#-L$(MKLPATH) -lmkl_intel_lp64 -lmkl_intel_thread -lmkl_core -lmkl_lapack
#-L../fftw-3.1.2/.libs -lfftw3f
;
UtilLibs $(EXECNAME) ;
if $(OS) = MACOSX {
LINKLIBS on $(EXECNAME) += -framework OpenGL ; #-L../fftw-3.1.2/.libs -lfftw3f
} else {
LINKLIBS on $(EXECNAME) += -lGL -lGLU -lpthread ;
}
if $(OS) = NT {
Resource icons.res : Icons/icons.rc ;
LinkResource dist/$(EXECNAME) : icons.res ;
}
File dist$(SEP)gentium.txf : util$(SEP)Graphics$(SEP)fonts$(SEP)gentium.txf ;
Executable $(EXECNAME) : $(NAMES:S=$(SUFOBJ)) $(GRAPHICS_OBJECTS) $(LIBRARY_OBJECTS) $(CHARACTER_OBJECTS) $(BASIS_OBJECTS) ;