www.pudn.com > common-1.2.8.zip > Makefile.in
# # 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