lib/Makefile: Enable compiler warnings to USER_TARGETS_OBJS

Signed-off-by: Jesper Dangaard Brouer <brouer@redhat.com>
This commit is contained in:
Jesper Dangaard Brouer
2021-10-28 13:51:09 +02:00
parent 6f0a1e3f01
commit 45a7e3cab7

View File

@@ -73,7 +73,7 @@ $(LIB_OBJS): %.o: %.c %.h $(LIB_H)
# Allows including Makefile to define USER_TARGETS_OBJS to compile and link with
$(USER_TARGETS_OBJS): %.o: %.c %.h $(USER_TARGETS_OBJS_DEPS)
$(QUIET_CC)$(CC) $(CFLAGS) -c -o $@ $<
$(QUIET_CC)$(CC) $(CFLAGS) -Wall -c -o $@ $<
$(USER_TARGETS): %: %.c $(OBJECT_LIBBPF) $(OBJECT_LIBXDP) $(LIBMK) $(LIB_OBJS) $(KERN_USER_H) $(EXTRA_DEPS) $(EXTRA_USER_DEPS) $(BPF_SKEL) $(USER_TARGETS_OBJS)
$(QUIET_CC)$(CC) -Wall $(CFLAGS) $(LDFLAGS) -o $@ $(LIB_OBJS) $(USER_TARGETS_OBJS) \