File: Makefile.in

package info (click to toggle)
libmpeg1 1.3.1-2.1
  • links: PTS
  • area: main
  • in suites: sarge, woody
  • size: 784 kB
  • ctags: 644
  • sloc: ansic: 8,520; sh: 1,333; makefile: 169
file content (44 lines) | stat: -rw-r--r-- 976 bytes parent folder | download | duplicates (3)
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
SHELL         = /bin/sh

# Compiler and compiler/preprocessor flags
CC            = @CC@
OPTIMIZE      = @OPTIMIZE@
EXTRA_CFLAGS  = @EXTRA_CFLAGS@
INCLUDE_DIRS  = -I.. @INCLUDE_DIRS@
DEFINES       = @DEFINES@
CFLAGS        = $(OPTIMIZE) $(EXTRA_CFLAGS)
CPPFLAGS      = $(INCLUDE_DIRS) $(DEFINES)

# Linker flags
EXTRA_LDFLAGS = @EXTRA_LDFLAGS@
LDFLAGS       = -L.. -lmpeg $(EXTRA_LDFLAGS)

# Executables to build
EXTRAS        = @extras@

# Library file (need to check that it's up-to-date)
LIBRARY       = ../libmpeg.a

# Implicit targets
.c.o:
		$(CC) -c $(CFLAGS) $(CPPFLAGS) $< $?

# Explicit targets

all:            $(EXTRAS)

mpegtest:	$(LIBRARY) mpegtest.o ParseArgv.o
		$(CC) $(CFLAGS) mpegtest.o ParseArgv.o -o $@ $(LDFLAGS)

easympeg:	$(LIBRARY) easympeg.o
		$(CC) $(CFLAGS) easympeg.o -o $@ -lgl $(LDFLAGS)

$(LIBRARY):
		(cd .. ; make lib)

clean:
		rm -f mpegtest easympeg
		rm -f mpegtest.o ParseArgv.o easympeg.o mpegtest easympeg

distclean:
		rm -f Makefile