diff --git a/examples/nx/Makefile b/examples/nx/Makefile index da10fc50d7..002e255ec0 100644 --- a/examples/nx/Makefile +++ b/examples/nx/Makefile @@ -39,9 +39,14 @@ ASRCS = AOBJS = $(ASRCS:.S=$(OBJEXT)) -CSRCS = +CSRCS = nx_main.c nx_events.c nx_kbdin.c +ifeq ($(CONFIG_NX_MULTIUSER),y) +CSRCS += nx_server.c +endif + COBJS = $(CSRCS:.c=$(OBJEXT)) + SRCS = $(ASRCS) $(CSRCS) OBJS = $(AOBJS) $(COBJS)