aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--com32/cmenu/Makefile2
-rw-r--r--mk/elf.mk2
2 files changed, 3 insertions, 1 deletions
diff --git a/com32/cmenu/Makefile b/com32/cmenu/Makefile
index 100dba58..6bb52316 100644
--- a/com32/cmenu/Makefile
+++ b/com32/cmenu/Makefile
@@ -21,6 +21,8 @@ LIBS = libmenu/libmenu.c32 \
$(objdir)/com32/libutil/libutil.c32 \
$(objdir)/com32/lib/libcom32.c32
+C_LIBS = libmenu/libmenu.c32
+
VPATH = $(SRC)
include $(MAKEDIR)/elf.mk
diff --git a/mk/elf.mk b/mk/elf.mk
index 1ec9b2d9..56de6de0 100644
--- a/mk/elf.mk
+++ b/mk/elf.mk
@@ -72,7 +72,7 @@ LNXCFLAGS = -I$(com32)/libutil/include -W -Wall -O -g -D_GNU_SOURCE
LNXSFLAGS = -g
LNXLDFLAGS = -g
-C_LIBS = $(objdir)/com32/libutil/libutil.c32 $(GPLLIB) \
+C_LIBS += $(objdir)/com32/libutil/libutil.c32 $(GPLLIB) \
$(objdir)/com32/lib/libcom32.c32
C_LNXLIBS = $(objdir)/com32/libutil/libutil_lnx.a \
$(objdir)/com32/elflink/ldlinux/ldlinux_lnx.a