annotate linux/Makefile @ 8514:a1ff87c254ff

I have rewritten the gif89a vo in order to solve some problems I had with it. These are: 1) current code is messy 2) poor comments, if any 3) inaccurate frame dropping and delay code 4) output filename hardcoded 5) output framerate as integer You may specify the output filename and framerate like so: -vo gif89a:4.33 4.33 fps output -vo gif89a:some.gif output to some.gif -vo gif89a:5.02:new.gif output to new.gif at 5.02 fps The filename defaults to out.gif, and the framerate defaults to 5 fps. by Joey Parrish <joey@nicewarrior.org>
author arpi
date Sat, 21 Dec 2002 21:07:16 +0000
parents 1dd8fe0776d3
children 113095b8258b
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
2444
ec8ff6ea4af6 Independed compilation of SUBDIRS
nick
parents:
diff changeset
1
ec8ff6ea4af6 Independed compilation of SUBDIRS
nick
parents:
diff changeset
2 include ../config.mak
ec8ff6ea4af6 Independed compilation of SUBDIRS
nick
parents:
diff changeset
3
ec8ff6ea4af6 Independed compilation of SUBDIRS
nick
parents:
diff changeset
4 LIBNAME = libosdep.a
ec8ff6ea4af6 Independed compilation of SUBDIRS
nick
parents:
diff changeset
5
8290
1dd8fe0776d3 Add our own vsscanf implementation, in case the system's libc does not have
jkeil
parents: 8288
diff changeset
6 SRCS=getch2.c timer-lx.c shmem.c strsep.c vsscanf.c scandir.c # timer.c
2444
ec8ff6ea4af6 Independed compilation of SUBDIRS
nick
parents:
diff changeset
7 OBJS=$(SRCS:.c=.o)
ec8ff6ea4af6 Independed compilation of SUBDIRS
nick
parents:
diff changeset
8
ec8ff6ea4af6 Independed compilation of SUBDIRS
nick
parents:
diff changeset
9 ifeq ($(TARGET_ARCH_X86),yes)
ec8ff6ea4af6 Independed compilation of SUBDIRS
nick
parents:
diff changeset
10 ifeq ($(TARGET_OS),Linux)
ec8ff6ea4af6 Independed compilation of SUBDIRS
nick
parents:
diff changeset
11 SRCS += lrmi.c vbelib.c
ec8ff6ea4af6 Independed compilation of SUBDIRS
nick
parents:
diff changeset
12 endif
ec8ff6ea4af6 Independed compilation of SUBDIRS
nick
parents:
diff changeset
13 endif
ec8ff6ea4af6 Independed compilation of SUBDIRS
nick
parents:
diff changeset
14
7073
b69ddd4d3bb9 removed -W -Wall -g and other gcc-specific warning/debug options
arpi
parents: 5393
diff changeset
15 CFLAGS = $(OPTFLAGS) -I. -I..
2444
ec8ff6ea4af6 Independed compilation of SUBDIRS
nick
parents:
diff changeset
16 # -I/usr/X11R6/include/
ec8ff6ea4af6 Independed compilation of SUBDIRS
nick
parents:
diff changeset
17
ec8ff6ea4af6 Independed compilation of SUBDIRS
nick
parents:
diff changeset
18 .SUFFIXES: .c .o
ec8ff6ea4af6 Independed compilation of SUBDIRS
nick
parents:
diff changeset
19
ec8ff6ea4af6 Independed compilation of SUBDIRS
nick
parents:
diff changeset
20 # .PHONY: all clean
ec8ff6ea4af6 Independed compilation of SUBDIRS
nick
parents:
diff changeset
21
ec8ff6ea4af6 Independed compilation of SUBDIRS
nick
parents:
diff changeset
22 .c.o:
ec8ff6ea4af6 Independed compilation of SUBDIRS
nick
parents:
diff changeset
23 $(CC) -c $(CFLAGS) -o $@ $<
ec8ff6ea4af6 Independed compilation of SUBDIRS
nick
parents:
diff changeset
24
ec8ff6ea4af6 Independed compilation of SUBDIRS
nick
parents:
diff changeset
25 $(LIBNAME): $(OBJS)
ec8ff6ea4af6 Independed compilation of SUBDIRS
nick
parents:
diff changeset
26 $(AR) r $(LIBNAME) $(OBJS)
ec8ff6ea4af6 Independed compilation of SUBDIRS
nick
parents:
diff changeset
27
ec8ff6ea4af6 Independed compilation of SUBDIRS
nick
parents:
diff changeset
28 all: $(LIBNAME)
ec8ff6ea4af6 Independed compilation of SUBDIRS
nick
parents:
diff changeset
29
ec8ff6ea4af6 Independed compilation of SUBDIRS
nick
parents:
diff changeset
30 clean:
ec8ff6ea4af6 Independed compilation of SUBDIRS
nick
parents:
diff changeset
31 rm -f *.o *.a *~
ec8ff6ea4af6 Independed compilation of SUBDIRS
nick
parents:
diff changeset
32
ec8ff6ea4af6 Independed compilation of SUBDIRS
nick
parents:
diff changeset
33 distclean:
ec8ff6ea4af6 Independed compilation of SUBDIRS
nick
parents:
diff changeset
34 rm -f Makefile.bak *.o *.a *~ .depend
ec8ff6ea4af6 Independed compilation of SUBDIRS
nick
parents:
diff changeset
35
ec8ff6ea4af6 Independed compilation of SUBDIRS
nick
parents:
diff changeset
36 dep: depend
ec8ff6ea4af6 Independed compilation of SUBDIRS
nick
parents:
diff changeset
37
ec8ff6ea4af6 Independed compilation of SUBDIRS
nick
parents:
diff changeset
38 depend:
ec8ff6ea4af6 Independed compilation of SUBDIRS
nick
parents:
diff changeset
39 $(CC) -MM $(CFLAGS) $(SRCS) 1>.depend
ec8ff6ea4af6 Independed compilation of SUBDIRS
nick
parents:
diff changeset
40
ec8ff6ea4af6 Independed compilation of SUBDIRS
nick
parents:
diff changeset
41 #
ec8ff6ea4af6 Independed compilation of SUBDIRS
nick
parents:
diff changeset
42 # include dependency files if they exist
ec8ff6ea4af6 Independed compilation of SUBDIRS
nick
parents:
diff changeset
43 #
ec8ff6ea4af6 Independed compilation of SUBDIRS
nick
parents:
diff changeset
44 ifneq ($(wildcard .depend),)
ec8ff6ea4af6 Independed compilation of SUBDIRS
nick
parents:
diff changeset
45 include .depend
ec8ff6ea4af6 Independed compilation of SUBDIRS
nick
parents:
diff changeset
46 endif