~ubuntu-branches/ubuntu/oneiric/libmng/oneiric

« back to all changes in this revision

Viewing changes to contrib/gcc/xmngview/Makefile

  • Committer: Bazaar Package Importer
  • Author(s): Shiju p. Nair
  • Date: 2006-04-07 09:49:11 UTC
  • mfrom: (0.2.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20060407094911-ay3179o63gvlh4ll
Tags: 1.0.9-1
* New upstream release. (closes: #303968, #271979)
* Patch from Aurelien Jarno <aurel32@debian.org> to support GNU/kFreeBSD.
  Closes: #314696)
* Patch from Christopher Bodenstein <cb@physicman.net> to support
  hurd-i386. (closes: #361103)
* README.Debian provide information on what options are compiled in to
  libmng.(closes: #174523)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
PROC=athlon
2
 
CFLAGS=-g -Wall -O2 -march=$(PROC) -mcpu=$(PROC)
3
 
MOTIFLIB=/usr/local/lesstif/lib
4
 
MOTIFINC=/usr/local/lesstif/include
5
 
MNGLIB=-lmng
6
 
LIBS=-L/usr/X11R6/lib -L$(MOTIFLIB) -lXm -lXt -lX11 $(MNGLIB) -lm
7
 
INC=-I/usr/X11R6/include -I$(MOTIFINC)
8
 
CC=gcc
9
 
LDFLAGS=
10
 
 
11
 
all: clean compile
12
 
 
13
 
compile:
14
 
        $(CC) $(CFLAGS) $(INC) color.c xmngview.c -o xmngview $(LIBS)
15
 
 
16
 
clean:
17
 
        rm -f xmngview core 
18
 
 
19
 
install:
20
 
        cp -a xmngview  /usr/local/bin/xmngview
 
1
PROC=athlon
 
2
CFLAGS=-g -Wall -O2 -march=$(PROC) -mcpu=$(PROC)
 
3
MOTIFLIB=/usr/local/lesstif/lib
 
4
MOTIFINC=/usr/local/lesstif/include
 
5
MNGLIB=-lmng
 
6
LIBS=-L/usr/X11R6/lib -L$(MOTIFLIB) -lXm -lXt -lX11 $(MNGLIB) -lm
 
7
INC=-I/usr/X11R6/include -I$(MOTIFINC)
 
8
CC=gcc
 
9
LDFLAGS=
 
10
 
 
11
all: clean compile
 
12
 
 
13
compile:
 
14
        $(CC) $(CFLAGS) $(INC) color.c xmngview.c -o xmngview $(LIBS)
 
15
 
 
16
clean:
 
17
        rm -f xmngview core 
 
18
 
 
19
install:
 
20
        cp -a xmngview  /usr/local/bin/xmngview