Skip to content

Commit 188483c

Browse files
authored
target should be the output bin, not source file
This patch makes it compile
1 parent 3e54843 commit 188483c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

chapter07/Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ CC = gcc
3434
CXX = g++
3535
RM = rm -f
3636

37-
TARGETS = pwriter preader pmemobj_alloc.c reserve_publish.c tx.c
37+
TARGETS = pwriter preader pmemobj_alloc reserve_publish tx
3838
TARGETS_LISTINGS = $(addsuffix .lst, $(TARGETS))
3939

4040
LIBS = -lpmemobj -lpmem -lpthread

0 commit comments

Comments
 (0)