2017-01-10 10:50:26 +00:00
|
|
|
#
|
|
|
|
# Intel 386(tm)/486(tm) C Code Builder(tm) Kit, Version 1.0
|
|
|
|
#
|
|
|
|
|
|
|
|
CFLAGS := /D__DOS__ /DMOO_ENABLE_STATIC_MODULE /DNDEBUG /I..\lib
|
|
|
|
|
|
|
|
SRCS := \
|
2018-11-30 15:19:33 +00:00
|
|
|
_con.c \
|
2017-01-10 14:27:31 +00:00
|
|
|
ffi.c \
|
2017-01-10 10:50:26 +00:00
|
|
|
stdio.c
|
|
|
|
|
|
|
|
OBJS := $(SRCS:.c=.obj)
|
|
|
|
|
|
|
|
MODFILE=moomod.lib
|
|
|
|
RSPFILE := $(MODFILE,B,S/.*/&.RSP/)
|
|
|
|
|
|
|
|
all: $(OBJS)
|
|
|
|
echo > $(RSPFILE)
|
|
|
|
!foreach x $(.NEWER)
|
|
|
|
modname /r $x >> $(RSPFILE)
|
|
|
|
!end
|
|
|
|
echo compress >> $(RSPFILE)
|
|
|
|
echo update >> $(RSPFILE)
|
|
|
|
echo quit exit >> $(RSPFILE)
|
|
|
|
del $(MODFILE)
|
|
|
|
lib32 $(MODFILE) batch < $(RSPFILE)
|