File: Makefile

package info (click to toggle)
ncdt 2.1-7
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 144 kB
  • sloc: ansic: 358; makefile: 40
file content (27 lines) | stat: -rw-r--r-- 388 bytes parent folder | download | duplicates (2)
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
27
# NcdT -- directory tree printer with extended capabilities
# (C) 1999-2001 by Pawel Wiecek <coven@vmh.net>
# See Copying file for licence.

CC=gcc
COPT=-O3 -Wall -pipe
LOPT=
OBJS=ncdt.o ncdt_mp3.o util.o
DEPS=ncdt.h

all: ncdt

ncdt: $(OBJS)
	$(CC) -o $@ $(OBJS) $(LOPT)

strip: ncdt
	strip $^

$(OBJS): $(DEPS)

.c.o:
	$(CC) -c $< $(COPT)

clean:
	-rm ncdt $(OBJS)

.PHONY: clean strip