~epii/+junk/simulator2d

« back to all changes in this revision

Viewing changes to Makefile.am

  • Committer: epii
  • Date: 2011-03-16 14:08:40 UTC
  • Revision ID: public.epii@gmail.com-20110316140840-u7x375bz4go7u8g8
renamed sample.c -> s2d_sample.c

Show diffs side-by-side

added added

removed removed

Lines of Context:
7
7
libsimulator2d_a_SOURCES = vector2d.h vector2d.c simulator2d.h simulator2d.c
8
8
 
9
9
# Programs
10
 
bin_PROGRAMS = sample
 
10
bin_PROGRAMS = s2d_sample
11
11
 
12
 
sample_SOURCES = sample.c
13
 
sample_LDADD = libsimulator2d.a $(GLIB_LIBS) $(SDL_LIBS) $(CAIRO_LIBS)
 
12
s2d_sample_SOURCES = s2d_sample.c
 
13
s2d_sample_LDADD = libsimulator2d.a $(GLIB_LIBS) $(SDL_LIBS) $(CAIRO_LIBS)
14
14
 
15
15
# ffmpeg settings
16
16
FFMPEG_FPS = 30
20
20
        $(RM) -r *_out
21
21
        $(RM) *.mp4 *.ogv
22
22
 
23
 
%_out: sample
 
23
%_out: s2d_sample
24
24
        $(RM) -r $@
25
 
        ./sample -w -o $@ $(shell basename $@ _out)
 
25
        ./s2d_sample -w -o $@ $(shell basename $@ _out)
26
26
 
27
27
%.mp4: %_out
28
28
        ffmpeg -r $(FFMPEG_FPS) -i "$</%d.png" -f mp4 -vcodec libx264 -vpre lossless_fast $(FFMPEG_OPTS)