File: Makefile.irix

package info (click to toggle)
libmpeg1 1.2.2-4
  • links: PTS
  • area: main
  • in suites: hamm, slink
  • size: 736 kB
  • ctags: 637
  • sloc: ansic: 8,415; sh: 1,328; makefile: 123
file content (18 lines) | stat: -rw-r--r-- 476 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# Targets 'n stuff for SGI only  -  much of this is for compiling
# with -O3, which is experimental and may or may not work.  Oh well.

OPTFLAGS      = -O3
UCODE         = $(LIBSRC:.c=.u)
OPTLIBRARY    = libmpeg_O3.a
EASYMPEG      = easympeg

.c.u:
		$(CC) $(OPTFLAGS) -j $<

$(OPTLIBRARY):	$(UCODE)
		$(AR) $(ARFLAGS) $(OPTLIBRARY) $(UCODE)
optlib:		$(OPTLIBRARY)

opttest:	$(OPTLIBRARY) mpegtest.u ParseArgv.u
		$(CC) $(OPTFLAGS) mpegtest.u ParseArgv.u -o $@ -L. -lmpeg_O3