Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
Synchronet
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Main
Synchronet
Commits
247e9257
"README.md" did not exist on "d0f49f9afa1a3a226a90249d3498f0c5f9cfaf6d"
Commit
247e9257
authored
23 years ago
by
rswindell
Browse files
Options
Downloads
Patches
Plain Diff
New makefile.
parent
82cd3fc9
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/sbbs3/scfg/Makefile
+65
-0
65 additions, 0 deletions
src/sbbs3/scfg/Makefile
with
65 additions
and
0 deletions
src/sbbs3/scfg/Makefile
0 → 100644
+
65
−
0
View file @
247e9257
# Makefile.bor
#########################################################################
# Makefile for Synchronet BBS Configuration Utility (SCFG) #
# For use with Borland C++ Builder 5+ or Borland C++ 5.5 for Win32 #
# @format.tab-size 4 #
# #
# usage: make -f makefile.bor #
#########################################################################
# $Id$
# Macros
DEBUG
=
1
# Comment out for release
(
non-debug
)
version
CC
=
bcc32
LD
=
ilink32
SLASH
=
\\
OFILE
=
obj
EXEFILE
=
.exe
ODIR
=
bcc.win32
# Executable output directory
CFLAGS
=
-M
-I
..
;
..
\.
.
\u
ifc
;
..
\.
.
\x
pdev
-g1
DELETE
=
echo
y | del
.path.c
=
.
;
..
;
..
\.
.
\u
ifc
;
..
\.
.
\x
pdev
# Optional compile flags (disable banner, warnings and such)
CFLAGS
=
$(
CFLAGS
)
-q
-d
-H
-X-
-w-csu
-w-pch
-w-ccc
-w-rch
-w-par
-w-pro
# Debug or release build?
!
ifdef
DEBUG
CFLAGS
=
$(
CFLAGS
)
-v
-Od
-D_DEBUG
LFLAGS
=
$(
LFLAGS
)
-v
ODIR
=
$(
ODIR
)
.debug
!
else
ODIR
=
$(
ODIR
)
.release
!
endif
# Cross platform/compiler definitions
!
include
targets.mk
# defines all targets
!
include
objects.mk
# defines $(OBJS)
!
include
headers.mk
# defines $(HEADERS)
OBJS
=
$(
OBJS
)
$(
ODIR
)
\u
ifc.
$(
OFILE
)
# Implicit C Compile Rule for SCFG
.c.$(OFILE)
:
@$(
CC
)
$(
CFLAGS
)
-n
$(
ODIR
)
-c
$<
# Create output directories if they don't exist
$(ODIR)
:
@
if
not exist
$(
ODIR
)
mkdir
$(
ODIR
)
makehelp.exe
:
makehelp.c
$(
CC
)
$?
$(SCFGHELP)
:
$(OBJS) makehelp.exe
makehelp
$(
ODIR
)
# Monolithic SCFG executable Build Rule
$(SCFG)
:
$(OBJS)
@
echo
Linking
$@
@$(
CC
)
$(
CFLAGS
)
-e
$@
$*
*
!
include
depends.mk
#
defines
dependencies
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment