🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
1 messages
1 total messages Started by vtailor Mon, 25 Oct 1999 00:00
MingW32 batch makefile (makeslrn.bat)
#53442
Author: vtailor
Date: Mon, 25 Oct 1999 00:00
49 lines
1896 bytes
REM For people jaded with gnu makefiles.
REM You may have to increase environment space to make this work:
REM command.com /E:32000

SET INCLUDES= -I.\ -I..\
SET CC= gcc
SET CCFLAGS= -O2 -fno-strength-reduce -W -Wall
SET DEFINES= -DUSE_NOTEPAD_PRINT_CODE
SET CFLAGS= %CCFLAGS% %INCLUDES% %DEFINES%
SET MISCLIBS= -lwsock32 -lwinspool
REM The following SET FILES statement should be on one line.
SET FILES= art  chmap  editscore  group  hash  help  interp  menu  mime  
misc  post  score  server  slrn  sortdate  startup  ttymsg  util  uudecode  
slrndir  version  print  xover

PAUSE

ECHO These are the defines: %DEFINES%

PAUSE

ECHO These are the files: %FILES%

PAUSE

ECHO These are the CFLAGS: %CFLAGS%

PAUSE

copy slrnconf.h config.h

REM This sets the mingw32 paths:

CALL c:\tools\mingw32\mingw32.bat

cd src
erase *.o

PAUSE

for %%f in ( %FILES% )  do gcc -c %CFLAGS% %%f.c

PAUSE

gcc -o slrn.exe *.o -lslang %MISCLIBS%

strip slrn.exe

Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads