File: Makefile.in

package info (click to toggle)
sidplay 1.36.28-2
  • links: PTS
  • area: main
  • in suites: slink
  • size: 1,192 kB
  • ctags: 1,674
  • sloc: cpp: 12,514; sh: 1,716; makefile: 223
file content (76 lines) | stat: -rw-r--r-- 1,545 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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76

SHELL			= /bin/sh

TOPDIR			= @top_srcdir@
BASEDIR			= @srcdir@
SRCDIR			= $(BASEDIR)
prefix			= @prefix@
exec_prefix		= @exec_prefix@
bindir			= @bindir@
libdir			= @libdir@
includedir		= @includedir@
DOCDIR			= $prefix/doc

CXX				= @CXX@
CXXFLAGS		= @CXXFLAGS@
LN				= @LN_S@
RM				= @RM@
AR				= @AR@
RANLIB			= @RANLIB@
INSTALL			= @INSTALL@
INSTALL_DATA	= @INSTALL_DATA@

LDFLAGS			= @LDFLAGS@
DEFS			= @DEFS@
INCLUDES		= -I$(SRCDIR) -I$(TOPDIR)/libsidplay/include

LIBM			= @LIBM@
LIBIOS			= @LIBIOS@
SIDLIB          = -L$(TOPDIR)/libsidplay -lsidplay
LIBS			= @LIBS@ $(LIBM) $(LIBIOS) $(SIDLIB)

#--------------------------------------------------------------

sources =  sidplay.cpp audiodrv.cpp sid2wav.cpp sidcon.cpp

.PHONY: all
all:	sidplay sid2wav sidcon

sidplay:	sidplay.o audiodrv.o
		$(CXX) -o $@ $(LDFLAGS) sidplay.o audiodrv.o $(LIBS)

sid2wav:	sid2wav.o
		$(CXX) -o $@ $(LDFLAGS) sid2wav.o $(LIBS)

sidcon:	sidcon.o
		$(CXX) -o $@ $(LDFLAGS) sidcon.o $(LIBS)

.PHONY: clean
clean:
		rm -f *.d *.o *~ sidplay sid2wav sidcon

.PHONY: distclean
distclean:
		$(MAKE) clean
		-rm -f Makefile

.PHONY: depend
depend:
		@MAKEDEP@ $(INCLUDES) $(sources) 2> /dev/null

install:
		$(INSTALL) sidplay $(bindir)
		$(INSTALL) sid2wav $(bindir)
		$(INSTALL) sidcon $(bindir)

.EXPORT_ALL_VARIABLES:

.SUFFIXES:
.SUFFIXES: .cpp .d .h .o

%.o:	%.cpp
		$(CXX) $(CXXFLAGS) $(INCLUDES) $(DEFS) -c $< -o $@

# ---------------------------------------------------------------------------
# DO NOT DELETE THIS LINE -- make depend depends on it.