Files
openairinterface5g/openair3/NAS/COMMON/UTIL/tst/Makefile
T
Cedric Roux aea6b4b5a6 fix a lot of file mode
For whatever reason most of the files had their permission
changed from 644 to 755, which is not wanted.
2019-01-07 16:22:28 +01:00

37 lines
635 B
Makefile

ifndef PROJDIR
PROJDIR = $(PWD)/../../..
endif
include $(PROJDIR)/Makerules
include $(PROJDIR)/Makefile.inc
LIBS = -lutil
INCLUDES = -I. -I$(INCDIR) -I$(UTILDIR)
LIBSUTIL = $(LIBDIR)/$(LIBUTIL).a $(LIBDIR)/$(LIBUTIL).so
TIMER_OBJ = timer.o
TIMER_TARGET = timer
TARGETS = $(TIMER_TARGET)
all: $(TARGETS)
%.o: %.c Makefile
$(CC) $(CFLAGS) -c $< -o $@
$(TIMER_TARGET): $(TIMER_OBJ) $(LIBSUTIL)
$(CC) $(LDFLAGS) -o $@ $^ $(LIBS)
clean:
$(RM) $(OBJS) $(TARGETS) *.bak *~
depend:
makedepend -- ${CFLAGS} -- ${SRCS}
# DO NOT DELETE THIS LINE -- make depend depends on it.
timer.o: $(UTILDIR)/timer.h $(INCDIR)/commonDef.h