mirror of
https://github.com/moparisthebest/curl
synced 2024-12-21 23:58:49 -05:00
updated makefile to compile nwos.c.
This commit is contained in:
parent
a4f36558fc
commit
6a88eab067
@ -123,10 +123,10 @@ CFLAGS += -Wall # -pedantic
|
|||||||
ifeq ($(LIBARCH),LIBC)
|
ifeq ($(LIBARCH),LIBC)
|
||||||
PRELUDE = $(SDK_LIBC)/imports/libcpre.gcc.o
|
PRELUDE = $(SDK_LIBC)/imports/libcpre.gcc.o
|
||||||
else
|
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
|
# to avoid the __init_* / __deinit_* whoes dont use prelude from NDK
|
||||||
# http://www.gknw.net/development/mk_nlm/gcc_pre.zip
|
# 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
|
CFLAGS += -include $(NDKBASE)/nlmconv/genlm.h
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
@ -207,7 +207,7 @@ endif
|
|||||||
# Makefile.inc provides the CSOURCES and HHEADERS defines
|
# Makefile.inc provides the CSOURCES and HHEADERS defines
|
||||||
include Makefile.inc
|
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)
|
OBJL = $(OBJS) $(OBJDIR)/nwlib.o $(LDLIBS)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user