Skip to content
Snippets Groups Projects
Commit 25a65a71 authored by deuce's avatar deuce
Browse files

Makefiles for ciolib

parent 6b06b35b
Branches
Tags
No related merge requests found
# smblib/Makefile
#########################################################################
# Makefile for Synchronet Message Base Library (SMBLIB) #
# For use with Borland C++ Builder 5+ or Borland C++ 5.5 for Win32 #
# @format.tab-size 4 #
# #
# usage: make #
#########################################################################
# $Id$
# Macros
#DEBUG = 1 # Comment out for release (non-debug) version
SRC_ROOT = ..
# Cross platform/compiler definitions
include $(SRC_ROOT)/build/Common.gmake # defines clean and output directory rules
CFLAGS += -I$(XPDEV_SRC) -I$(CIOLIB_SRC)
OBJS += $(OBJODIR)$(DIRSEP)curs_cio$(OFILE)
ifndef NO_X
CFLAGS += -I/usr/X11R6/include
OBJS += $(OBJODIR)$(DIRSEP)console$(OFILE) \
$(OBJODIR)$(DIRSEP)x_cio$(OFILE)
endif
# CIOLIB Library Link Rule
$(CIOLIB): $(OBJS)
@echo Creating $@ ...
$(QUIET)ar rc $@ $^
$(QUIET)ranlib $@
# smblib/Makefile
#########################################################################
# Makefile for Synchronet Message Base Library (SMBLIB) #
# For use with Borland C++ Builder 5+ or Borland C++ 5.5 for Win32 #
# @format.tab-size 4 #
# #
# usage: make #
#########################################################################
# $Id$
# Macros
#DEBUG = 1 # Comment out for release (non-debug) version
# Enable auto-dependency checking
.autodepend
.cacheautodepend
SRC_ROOT = ..
# Cross platform/compiler definitions
!include ..\build\Common.bmake # defines clean and output directory rules
CFLAGS = $(CFLAGS) -I$(XPDEV_SRC) -I$(CIOLIB_SRC)
# SBBS DLL Link Rule
$(CIOLIB): $(OBJS)
@echo Creating $< ...
-$(QUIET)$(DELETE) $@
$(QUIET)for %f in ($(OBJS)) do $(QUIET)tlib $@ +%f
# smblib/objects.mk
# Make 'include file' listing object files for SMBLIB
# $Id$
# OBJODIR, DIRSEP, and OFILE must be pre-defined
OBJS = $(OBJODIR)$(DIRSEP)ansi_cio$(OFILE)\
$(OBJODIR)$(DIRSEP)ciolib$(OFILE)\
$(OBJODIR)$(DIRSEP)cterm$(OFILE)\
$(OBJODIR)$(DIRSEP)mouse$(OFILE)
# conio/targets.mk
CIOLIB = $(LIBODIR)$(DIRSEP)$(LIBPREFIX)ciolib$(LIBFILE)
default: $(OBJODIR) $(LIBODIR) $(CIOLIB)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment