File: Makefile

package info (click to toggle)
howl-xml 0.1.0-1
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 72 kB
  • ctags: 24
  • sloc: ansic: 256; makefile: 67
file content (28 lines) | stat: -rw-r--r-- 488 bytes parent folder | download
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
28
DEFINES=
INCLUDES=-I/usr/include/avahi-compat-howl/
OBJS=howlxml_publish howlxml_browse

CC=gcc
RM=rm -f
CFLAGS=$(INCLUDES) $(DEFINES) -w
CPPFLAGS=
LDFLAGS=
LDLIBS=-lhowl -lpthread
COMPILE=$(CC) $(CFLAGS) $(CPPFLAGS) $(LDFLAGS) $(LDLIBS)

all: $(OBJS)

.o:.c
	$(COMPILE) -o $@.o $<

clean:
	$(RM) $(OBJS)

distclean: clean
	$(RM) *~

install: howlxml_browse howlxml_publish
	cp howlxml_browse $(DESTDIR)/usr/bin
	cp howlxml_publish $(DESTDIR)/usr/bin

.PHONY: all clean distclean install