mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-02-04 18:27:36 +00:00
7adaab24f2
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6297 d0543943-73ff-0310-b7d9-9358b9ac24b2
46 lines
642 B
Makefile
46 lines
642 B
Makefile
ifeq ($(SRCDIR)x,x)
|
|
SRCDIR = $(CURDIR)/../../..
|
|
endif
|
|
|
|
include $(SRCDIR)/Makefile.config
|
|
|
|
CFLAGS = $(CFLAGS_COMMON) $(CFLAGS_PERSONAL) $(CADD)
|
|
|
|
LDFLAGS = $(LADD)
|
|
|
|
INCLUDES = -I$(SRCDIR) -I$(SRCDIR)/lib/util/include
|
|
|
|
default: all
|
|
|
|
include $(SRCDIR)/Makefile.common
|
|
|
|
.PHONY: all
|
|
all: gennmtab
|
|
|
|
.PHONY: clean
|
|
clean: clean-common
|
|
rm -f gennmtab
|
|
|
|
.PHONY: distclean
|
|
distclean: clean distclean-common
|
|
|
|
.PHONY: tags
|
|
tags: TAGS
|
|
|
|
.PHONY: distdir
|
|
distdir:
|
|
|
|
.PHONY: install
|
|
install:
|
|
|
|
.PHONY: dep
|
|
dep: dep-common
|
|
|
|
gennmtab.o:%.o:%.c
|
|
$(CC) -c $< -o $@ $(CFLAGS) $(INCLUDES)
|
|
|
|
gennmtab:%:%.o
|
|
$(LINK) -o $@ $(LDFLAGS) $(CFLAGS) $^
|
|
|
|
include Makefile.depend
|