git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4806 818b1a75-f10b-46b9-bf7c-635c3b92a50f
36 lines
626 B
Makefile
36 lines
626 B
Makefile
export PROCESS = MME
|
|
|
|
include ../../Makerules
|
|
include ../../Makefile.inc
|
|
|
|
PROJDIR = $(PWD)/../..
|
|
|
|
export LD_RUN_PATH = $(LIBDIR):$(LIBPROCESS)
|
|
|
|
LIBS = -lutil -lapi -lEMMmsg -lESMmsg -lies -lrt
|
|
INCLUDES = -I. -I$(SRCDIR) -I$(INCDIR) -I$(UTILDIR) \
|
|
-I$(EMMMSGDIR) -I$(ESMMSGDIR) -I$(IESDIR)
|
|
|
|
TARGET = NetworkProcess
|
|
|
|
all: $(TARGET)
|
|
|
|
%.o: %.c Makefile
|
|
$(CC) $(CFLAGS) -c $< -o $@
|
|
|
|
$(TARGET): $(OBJS)
|
|
$(CC) -o $@ $^ $(LDFLAGS) $(LIBS)
|
|
@$(CP) $@ $(BINDIR)
|
|
|
|
clean:
|
|
$(RM) $(OBJS) *.bak *~
|
|
|
|
veryclean: clean
|
|
$(RM) $(TARGET)
|
|
|
|
depend:
|
|
makedepend -- ${CFLAGS} -- ${SRCS}
|
|
|
|
# DO NOT DELETE THIS LINE -- make depend depends on it.
|
|
|