GNUmakefile 951 Bytes
Newer Older
deuce's avatar
deuce committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# 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
29
$(CIOLIB-MT): $(MTOBJODIR) $(OBJS)
deuce's avatar
deuce committed
30
	@echo Creating $@ ...
31
	$(QUIET)ar rc $@ $(OBJS)
deuce's avatar
deuce committed
32
	$(QUIET)ranlib $@