File: Makefile

package info (click to toggle)
dmx4linux 2.5%2Bdfsg-2
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 1,660 kB
  • ctags: 2,835
  • sloc: ansic: 23,341; yacc: 918; asm: 846; makefile: 614; sh: 439
file content (43 lines) | stat: -rw-r--r-- 806 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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
# Makefile for the DMX-Device created by Michael Stickel
# (C)1997-2002 by Michael Stickel
#
# author: Michael Stickel
# email:  michael@cubic.org

include ../config.mk
DMXROOT=..

TARGETS=	pingdmx setdmx dmxinfo dmxdump

all:	$(TARGETS)
	$(MAKE) -C htmlexamples $@

pingdmx:	pingdmx.o
	$(CC) $(LDFLAGS) -o $@ $^ -ldmx4linux
	$(STRIP) $@

setdmx:	setdmx.o
	$(CC) $(LDFLAGS) -o $@ $^ -ldmx4linux
	$(STRIP) $@

dmxinfo : dmxinfo.o
	$(CC) $(LDFLAGS) -o $@ $^ -ldmx4linux
	$(STRIP) $@

dmxdump : dmxdump.o
	$(CC) $(LDFLAGS) -o $@ $^ -ldmx4linux
	strip $@

clean :
	rm -f $(TARGETS) *.o
	$(MAKE) -C htmlexamples $@

distclean: clean uninstall

uninstall:
	cd $(BININSTALLPATH) && rm -f $(TARGETS)
	$(MAKE) -C htmlexamples $@

install:
#	cd htmlexamples; $(MAKE) $@
#	install -m 755 $(TARGETS) $(BININSTALLPATH)