git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4806 818b1a75-f10b-46b9-bf7c-635c3b92a50f
33 lines
504 B
Makefile
33 lines
504 B
Makefile
include ../../Makerules
|
|
include ../../Makefile.inc
|
|
|
|
PROJDIR = $(PWD)/../..
|
|
|
|
export LD_RUN_PATH = $(LIBDIR)
|
|
|
|
LIBS = -lutil -lpthread -lrt
|
|
INCLUDES = -I. -I$(SRCDIR)
|
|
|
|
TARGET = UserProcess
|
|
|
|
all: $(TARGET)
|
|
|
|
%.o: %.c Makefile
|
|
$(CC) $(CFLAGS) -c $< -o $@
|
|
|
|
$(TARGET): $(OBJS)
|
|
$(CC) $(LDFLAGS) -o $@ $^ $(LIBS)
|
|
@$(CP) $(TARGET) $(BINDIR)
|
|
|
|
clean:
|
|
$(RM) $(OBJS) *.bak *~
|
|
|
|
veryclean: clean
|
|
$(RM) $(TARGET)
|
|
|
|
depend:
|
|
makedepend -- ${CFLAGS} -- ${SRCS}
|
|
|
|
# DO NOT DELETE THIS LINE -- make depend depends on it.
|
|
|