File: Makefile

package info (click to toggle)
wmnetmon 0.2p6-8
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 444 kB
  • ctags: 261
  • sloc: ansic: 1,848; sh: 363; makefile: 73; perl: 14
file content (26 lines) | stat: -rw-r--r-- 587 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
# Generated automatically from Makefile.in by configure.
CC=gcc
INSTALL=/usr/bin/install -c
CFLAGS=-g -O2  -I/usr/X11R6/include
LDFLAGS= -L/usr/X11R6/lib -lX11 -lXext -lXpm -lnsl -lresolv
BINDIR=/usr/X11R6/bin

OBJS=wmnetmon.o leds.o list.o wmgeneral.o pinger.o configfile.o tcpmonitor.o logger.o

all: wmnetmon

wmnetmon: $(OBJS)
	$(CC) $(OBJS) -o wmnetmon $(LDFLAGS)
	
.o:.c
	$(CC) $(CFLAGS) -c $.c -o $.o

install: wmnetmon
	$(INSTALL) wmnetmon $(BINDIR) -o root --mode=4755

clean: 
	rm -f *.o wmnetmon

realclean: clean
	rm config.cache config.log config.status config.h Makefile