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
ad6b6cec
Commit
ad6b6cec
authored
24 years ago
by
rswindell
Browse files
Options
Downloads
Patches
Plain Diff
Initial GNU makefile (works with CygWin/MinGW32 so far).
parent
9a67a928
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
xtrn/sbl/Makefile.gnu
+45
-0
45 additions, 0 deletions
xtrn/sbl/Makefile.gnu
with
45 additions
and
0 deletions
xtrn/sbl/Makefile.gnu
0 → 100644
+
45
−
0
View file @
ad6b6cec
# Makefile.gnu
#########################################################################
# Makefile for Synchronet BBS List #
# For use with GNU make and GNU C Compiler #
# @format.tab-size 4, @format.use-tabs true #
# #
# Linux: make -f Makefile.gnu #
# Win32: make -f Makefile.gnu os=win32 #
#########################################################################
# $Id$
# Macros
CC
=
gcc
LD
=
ld
ifeq
($(os),win32)
# Windows
EXEFILE
=
.exe
LIBDIR
:=
/gcc/i386-mingw32/lib
CFLAGS
:=
-mno-cygwin
LFLAGS
:=
--target
=
i386-mingw32
-mno-cygwin
DELETE
=
echo
y | del
LIBS
=
$(
LIBDIR
)
/libwsock32.a
else
# Linux
EXEFILE
=
LIBODIR
:=
gcc.linux.lib
EXEODIR
:=
gcc.linux.exe
LIBDIR
:=
/usr/lib
CFLAGS
:=
LFLAGS
:=
DELETE
=
rm
-f
-v
LIBS
=
$(
LIBDIR
)
/libpthread.a
endif
CFLAGS
:=
$(
CFLAGS
)
-I
../sdk
-I
/src/sbbs3
SBL
:
sbl$(EXEFILE)
sbl$(EXEFILE)
:
sbl.c ../sdk/xsdk.c ../sdk/xsdkvars.c /src/sbbs3/smbwrap.c
$(
CC
)
$(
CFLAGS
)
$^
-o
$@
$(
LIBS
)
\ 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