summaryrefslogtreecommitdiff
path: root/Makefile
blob: 120bc585d2952ed409d13e6c7a6dd5b20e4d192a (plain)
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
29
30
31
32
33
34
# Makefile for llmnrd
#
# Copyright (C) 2014-2015 Tobias Klauser <tklauser@distanz.ch>

P 	= llmnrd
OBJS	= llmnr.o iface.o socket.o util.o main.o
LIBS	= -lpthread

CC	= $(CROSS_COMPILE)gcc

CFLAGS	?= -W -Wall -O2
LDFLAGS	?=

CCQ	= @echo -e "  CC\t$<" && $(CC)
LDQ	= @echo -e "  LD\t$@" && $(CC)

ifeq ($(DEBUG), 1)
  CFLAGS += -g -DDEBUG
endif

all: $(P)

$(P): $(OBJS)
	$(LDQ) $(LDFLAGS) -o $@ $(OBJS) $(LIBS)

%.o: %.c %.h
	$(CCQ) $(CFLAGS) -o $@ -c $<

%.o: %.c
	$(CCQ) $(CFLAGS) -o $@ -c $<

clean:
	@echo -e "  CLEAN"
	@rm -f $(OBJS) $(P)
authorMauro Carvalho Chehab <mchehab@s-opensource.com>2016-07-27 10:45:04 -0300
committerMauro Carvalho Chehab <mchehab@s-opensource.com>2016-07-27 10:45:04 -0300
commit85538b1ad145c67198cb55d02de14ba269cc323d (patch)
tree409fca93b357839b8c89b7099f2888c087694b64 /Documentation/devicetree/bindings/clock
parent9c1958fc326a0a0a533ec8e86ea6fa30977207de (diff)
parentd271d3d9b333c94cd54a12fa506e17772a04617c (diff)
Merge branch 'topic/docs-next' into v4l_for_linus
* topic/docs-next: (322 commits) [media] cx23885-cardlist.rst: add a new card [media] doc-rst: add some needed escape codes [media] doc-rst: kapi: use :c:func: instead of :cpp:func doc-rst: kernel-doc: fix a change introduced by mistake [media] v4l2-ioctl.h add debug info for struct v4l2_ioctl_ops [media] dvb_ringbuffer.h: some documentation improvements [media] v4l2-ctrls.h: fully document the header file [media] doc-rst: Fix some typedef ugly warnings [media] doc-rst: reorganize the kAPI v4l2 chapters [media] rename v4l2-framework.rst to v4l2-intro.rst [media] move V4L2 clocks to a separate .rst file [media] v4l2-fh.rst: add cross references and markups [media] v4l2-fh.rst: add fh contents from v4l2-framework.rst [media] v4l2-fh.h: add documentation for it [media] v4l2-event.rst: add cross-references and markups [media] v4l2-event.h: document all functions [media] v4l2-event.rst: add text from v4l2-framework.rst [media] v4l2-framework.rst: remove videobuf quick chapter [media] v4l2-dev: add cross-references and improve markup [media] doc-rst: move v4l2-dev doc to a separate file ...
Diffstat (limited to 'Documentation/devicetree/bindings/clock')