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
18cba9b5
Commit
18cba9b5
authored
24 years ago
by
rswindell
Browse files
Options
Downloads
Patches
Plain Diff
Successful build and run with GCC/Cygwin/MinGW!
parent
b11cba2a
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/sbbs3/Makefile.gnu
+14
-9
14 additions, 9 deletions
src/sbbs3/Makefile.gnu
with
14 additions
and
9 deletions
src/sbbs3/Makefile.gnu
+
14
−
9
View file @
18cba9b5
...
...
@@ -4,12 +4,14 @@
# @format.tab-size 4 #
#########################################################################
# $id$
# Macros
DEBUG
=
1
# Comment out for release
(
non-debug
)
version
CC
=
gcc
LD
=
l
d
CFLAGS
=
-
Id
:/
cygwin
/usr/include/mingw32
LFLAGS
=
-
L
$(
LIB
)
LD
=
d
llwrap
CFLAGS
=
-
mno-
cygwin
LFLAGS
=
-
-target
=
i386-mingw32
-mno-cygwin
#ifdef DEBUG
#CFLAGS = $(CFLAGS) -g -O0 -D_DEBUG
...
...
@@ -99,8 +101,10 @@ OBJS = ansiterm.o\
xtrn.o
\
xtrn_sec.o
HEADERS
=
sbbs.h sbbsdefs.h sbbswrap.h scfgdefs.h gen_defs.h nodedefs.h
\
smblib.h smbdefs.h text.h
LIBS
=
/usr/lib/libwsock32.a /usr/lib/libwinmm.a
HEADERS
=
sbbs.h sbbsdefs.h sbbswrap.h sbbsinet.h scfgdefs.h gen_defs.h
\
nodedefs.h smblib.h smbdefs.h text.h
SBBSDEFS
=
-DSBBS
-DSBBS_EXPORTS
-DSMB_GETMSGTXT
-DSMBDLL
-DLZHDLL
\
-DWRAPPER_DLL
...
...
@@ -117,16 +121,17 @@ ALL: $(SBBS) $(FTPSRVR) $(MAILSRVR)
# SBBS DLL Link Rule
$(SBBS)
:
$(OBJS) ver.o
$(
LD
)
$(
LFLAGS
)
$(
LIB
)
\c
0d32.obj
$(
OBJS
)
$(
LIB
)
\i
mport32.lib
$(
LIB
)
\c
w32mt.lib
$(
LIB
)
\w
s2_32.lib
$(
LD
)
$(
LFLAGS
)
-o
$(
SBBS
)
ver.o
$(
OBJS
)
$(
LIBS
)
--output-lib
sbbs.a
# Mail Server DLL Link Rule
$(MAILSRVR)
:
mailsrvr.c mxlookup.c
$(
CC
)
$(
CFLAGS
)
-M
-lGi
-DMAILSRVR_EXPORTS
mailsrvr.c mxlookup.c sbbs.lib
$(
CC
)
$(
CFLAGS
)
-c
-DMAILSRVR_EXPORTS
mailsrvr.c mxlookup.c
$(
LD
)
$(
LFLAGS
)
-o
$(
MAILSRVR
)
mailsrvr.o mxlookup.o
$(
LIBS
)
sbbs.a
--output-lib
mailsrvr.a
# FTP Server DLL Link Rule
$(FTPSRVR)
:
ftpsrvr.c
$(
CC
)
$(
CFLAGS
)
-M
-lGi
-DFTPSRVR_EXPORTS
ftpsrvr.c sbbs.lib
$(
CC
)
$(
CFLAGS
)
-c
-DFTPSRVR_EXPORTS
ftpsrvr.c
$(
LD
)
$(
LFLAGS
)
-o
$(
FTPSRVR
)
ftpsrvr.o
$(
LIBS
)
sbbs.a
--output-lib
ftpsrvr.a
# Dependencies
ansiterm.o
:
$(HEADERS)
...
...
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