updated makefile to compile nwos.c.
authorGunter Knauf <gk@gknw.de>
Wed, 11 Jul 2007 21:38:28 +0000 (21:38 +0000)
committerGunter Knauf <gk@gknw.de>
Wed, 11 Jul 2007 21:38:28 +0000 (21:38 +0000)
lib/Makefile.netware

index 36a3367..e5ee922 100644 (file)
@@ -123,10 +123,10 @@ CFLAGS    += -Wall # -pedantic
 ifeq ($(LIBARCH),LIBC)
        PRELUDE = $(SDK_LIBC)/imports/libcpre.gcc.o
 else
-       PRELUDE = $(SDK_CLIB)/imports/clibpre.gcc.o
+       PRELUDE = $(SDK_CLIB)/imports/clibpre.gcc.o
        # to avoid the __init_* / __deinit_* whoes dont use prelude from NDK
        # http://www.gknw.net/development/mk_nlm/gcc_pre.zip
-       PRELUDE = $(NDK_ROOT)/pre/prelude.o
+       PRELUDE = $(NDK_ROOT)/pre/prelude.o
        CFLAGS += -include $(NDKBASE)/nlmconv/genlm.h
 endif
 endif
@@ -207,7 +207,7 @@ endif
 # Makefile.inc provides the CSOURCES and HHEADERS defines
 include Makefile.inc
 
-OBJS   := $(patsubst %.c,$(OBJDIR)/%.o,$(strip $(CSOURCES)))
+OBJS   := $(patsubst %.c,$(OBJDIR)/%.o,$(strip $(CSOURCES))) $(OBJDIR)/nwos.o
 
 OBJL   = $(OBJS) $(OBJDIR)/nwlib.o $(LDLIBS)