mirror of
https://git.rwth-aachen.de/acs/public/villas/node/
synced 2025-03-09 00:00:00 +01:00
renamed src/shmem.c to src/test-shmem.c which will be compiled into villas-test-shmem
This commit is contained in:
parent
cc7ef95026
commit
426712b56f
2 changed files with 4 additions and 3 deletions
|
@ -4,6 +4,7 @@ TARGETS = $(BUILDDIR)/villas-node \
|
|||
$(BUILDDIR)/villas-signal \
|
||||
$(BUILDDIR)/villas-test-rtt \
|
||||
$(BUILDDIR)/villas-test-cmp \
|
||||
$(BUILDDIR)/villas-test-shmem \
|
||||
$(BUILDDIR)/villas-hook
|
||||
|
||||
SRC_LDLIBS = $(LDLIBS) -pthread -lm -lvillas
|
||||
|
@ -25,7 +26,7 @@ ifeq ($(shell pkg-config libxil; echo $$?),0)
|
|||
endif
|
||||
endif
|
||||
|
||||
src: $(TARGETS) $(BUILDDIR)/villas-shmem
|
||||
src: $(TARGETS)
|
||||
|
||||
$(TARGETS): $(BUILDDIR)/villas-%: $(BUILDDIR)/src/%.o
|
||||
|
||||
|
@ -36,7 +37,7 @@ $(BUILDDIR)/villas-fpga: $(addprefix $(BUILDDIR)/src/,fpga-bench.o $(BENCH_OBJS)
|
|||
$(BUILDDIR)/src/%.o: src/%.c $(BUILDDIR)/defines | $$(dir $$@)
|
||||
$(CC) $(SRC_CFLAGS) -c $< -o $@
|
||||
|
||||
# Build villas-shmem only with libext (to ensure that libext contains everything needed)
|
||||
# Build villas-shmem only with libvillas-ext (to ensure that libext contains everything needed)
|
||||
$(BUILDDIR)/villas-shmem: $(BUILDDIR)/src/shmem.o $(LIBS) libvillas-ext
|
||||
$(CC) $(SRC_LDFLAGS) $(BUILDDIR)/src/shmem.o $(filter-out -lvillas,$(SRC_LDLIBS)) -lvillas-ext -o $@
|
||||
|
||||
|
|
|
@ -24,7 +24,7 @@ struct shmem_shared *shared;
|
|||
|
||||
void usage()
|
||||
{
|
||||
printf("Usage: villas-shmem SHM_NAME VECTORIZE\n");
|
||||
printf("Usage: villas-test-shmem SHM_NAME VECTORIZE\n");
|
||||
printf(" SHMNAME name of the shared memory object\n");
|
||||
}
|
||||
|
Loading…
Add table
Reference in a new issue