-
Notifications
You must be signed in to change notification settings - Fork 1
/
Makefile.am
44 lines (33 loc) · 1.13 KB
/
Makefile.am
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
ACLOCAL_AMFLAGS = -I m4
SUBDIRS = fsim tests
noinst_PROGRAMS = raw objviewer
EXTRA_DIST = README.md COPYING vertex.glsl fragment.glsl
raw_SOURCES = raw.c
raw_CFLAGS = $(GLEW_CFLAGS) $(GL_CFLAGS)
raw_LDADD = $(GLEW_LIBS) $(GL_LIBS)
objviewer_SOURCES = objviewer.c
objviewer_CFLAGS = $(MAGICK_CFLAGS) $(GLEW_CFLAGS) $(GL_CFLAGS) $(BOEHM_CFLAGS)
objviewer_LDADD = fsim/librender.la $(GLEW_LIBS) $(GL_LIBS) $(BOEHM_LIBS) -lm
# https://nasa3d.arc.nasa.gov/detail/nmss-sev
MMSEV.obj: MMSEV.zip
unzip -o $<
sed -i /map_Bump/d MMSEV.mtl
touch $@
MMSEV.zip:
curl -O https://nasa3d.arc.nasa.gov/shared_assets/models/nmss-sev/MMSEV.zip
# https://nasa3d.arc.nasa.gov/detail/nmss-hdu
HDU_lowRez_part1.obj: HDU.zip
unzip -oj $<
sed -i /Tf/d HDU_lowRez_part1.mtl
sed -i /Tf/d HDU_lowRez_part2.mtl
sed -i "s/s /g /" HDU_lowRez_part1.obj
sed -i "s/s /g /" HDU_lowRez_part2.obj
HDU.zip:
curl -O https://nasa3d.arc.nasa.gov/shared_assets/models/nmss-hdu/HDU.zip
# https://nasa3d.arc.nasa.gov/detail/nmss-z2
Z2.obj: Z2.zip
unzip -o $<
sed -i /map_Bump/d Z2.mtl
touch $@
Z2.zip:
curl -O https://nasa3d.arc.nasa.gov/shared_assets/models/nmss-z2/Z2.zip