File: Makefile

package info (click to toggle)
libmng 2.0.3%2Bdfsg-4
  • links: PTS, VCS
  • area: main
  • in suites: experimental
  • size: 8,092 kB
  • sloc: ansic: 78,373; sh: 11,434; cpp: 2,624; pascal: 2,185; makefile: 186
file content (19 lines) | stat: -rw-r--r-- 352 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
CFLAGS=-g -Wall
MOTIFLIB=/usr/lib
MOTIFINC=/usr/include
MNGLIB=-lmng
LIBS=-L/usr/lib -L$(MOTIFLIB) -lXm -lXt -lX11 $(MNGLIB) -lm
INC=-I/usr/include -I$(MOTIFINC)
CC=gcc
LDFLAGS=

all: clean compile

compile:
	$(CC) $(CFLAGS) $(INC) color.c xmngview.c -o xmngview $(LIBS)

clean:
	rm -f xmngview core 

install:
	cp -a xmngview  /usr/local/bin/xmngview