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

New build system toy build uifc library.

parent 4806a576
Branches
Tags
No related merge requests found
UIFCLIB = $(CONIO_SRC)$(DIRSEP)$(LIBODIR)$(DIRSEP)$(LIBPREFIX)uifc$(LIBFILE)
UIFC_CFLAGS = -I$(UIFC_SRC)
UIFC_LDFLAGS = -L$(UIFC_SRC)$(DIRSEP)$(LIBODIR)
XPDEV := ../xpdev/
UIFC_SRC := ./
NEED_UIFC := 1
USE_UIFC32 := 1
NEED_THREADS := 1
include $(XPDEV)Common.gmake
include $(UIFC_SRC)Common.gmake
# Executable Build Rule
${EXEODIR}/uifctest: $(LIBODIR)/uifctest.o $(OBJS)
@echo Linking $@
$(QUIET)$(CC) $(CFLAGS) -o $@ $(LDFLAGS) $^
# 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) $(CIOLIB_CFLAGS)
# UIFC Library Link Rule
$(UIFCLIB): $(OBJS)
@echo Creating $@ ...
$(QUIET)ar rc $@ $^
$(QUIET)ranlib $@
OBJS = $(LIBODIR)$(SLASH)uifc32.$(OFILE) \
$(LIBODIR)$(SLASH)uifcx.$(OFILE)
OBJS = $(OBJODIR)$(DIRSEP)uifc32$(OFILE) \
$(OBJODIR)$(DIRSEP)uifcx$(OFILE)
all: $(EXEODIR) $(LIBODIR) ${EXEODIR}/uifctest
UIFCLIB = $(LIBODIR)$(DIRSEP)$(LIBPREFIX)uifc$(LIBFILE)
all: $(OBJODIR) $(LIBODIR) $(UIFCLIB)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment