File: Makefile.in

package info (click to toggle)
uclmmbase 1.2.16.0-1
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k, jessie, jessie-kfreebsd, lenny, squeeze, wheezy
  • size: 1,460 kB
  • ctags: 1,276
  • sloc: ansic: 11,847; sh: 2,734; makefile: 249
file content (36 lines) | stat: -rw-r--r-- 575 bytes parent folder | download | duplicates (4)
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
#
# Makefile for the RTP example.
# This probably requires GNU make.
#

# Location of includes and library
CSRC   = ../../src

# Library name
LNAME  = uclmmbase

DEFS   = @DEFS@
CFLAGS = @CFLAGS@ $(DEFS) -I$(CSRC)
LIBS   = @LIBS@ -L$(CSRC) -l$(LNAME)
CC     = @CC@

TARGET = rtpdemo
OBJS   = rtpdemo.o
SRCS   = $(OBJS:%.o=%.c)

all: $(TARGET)

rtpdemo: $(OBJS) $(CSRC)/lib$(LNAME).a
	 $(CC) $(CFLAGS) -o $@ $(OBJS) $(LIBS)

.c.o:
	$(CC) $(CFLAGS) $(INC) -c $<

$(CSRC)/lib$(LNAME).a:
	cd $(CSRC) && $(MAKE)

clean:
	-rm -f $(OBJS) $(TARGET)

distclean: clean
	-rm -f Makefile