File: Makefile

package info (click to toggle)
traffic-vis 0.34-3
  • links: PTS
  • area: contrib
  • in suites: woody
  • size: 356 kB
  • ctags: 436
  • sloc: ansic: 4,029; makefile: 144; perl: 82; sh: 25
file content (17 lines) | stat: -rw-r--r-- 455 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
CFLAGS= -DVERSION="\"$(VERSION)\"" $(DEFINES) $(WARNFLAGS) $(DEBUGFLAGS) $(INCLUDES) -I.. $(OPT_FLAGS)
OBJS=
TARGETS=traffic-sort
LFLAGS=-L..
LIBS=-lreport $(GLIB) $(DEBUGLIBS)

all: $(TARGETS)

traffic-sort: traffic-sort.o ../libreport.a
	$(CC) $(LFLAGS) -o $@ traffic-sort.o $(LIBS)

install:
	install -m 755 -o root -g root traffic-sort $(SBINDIR)
	install -m 644 -o root -g root traffic-sort.8 $(MANDIR)/man8/

clean:
	-rm -f $(TARGETS) *.o core *.ps