Article View: news.software.readers
Article #53442MingW32 batch makefile (makeslrn.bat)
From: vtailor
Date: Mon, 25 Oct 1999 00:00
Date: Mon, 25 Oct 1999 00:00
49 lines
1896 bytes
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
Technical Details
Message-ID:
<1T3R3.416$fQ1.22513@dfiatx1-snr1.gtei.net>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!not-for-mailShow Full Headers
Complete Article Headers
Message-ID: <1T3R3.416$fQ1.22513@dfiatx1-snr1.gtei.net> Subject: MingW32 batch makefile (makeslrn.bat) Date: Mon, 25 Oct 1999 00:00:00 +0000 From: vtailor@gte.net () Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!not-for-mail X-Deja-AN: 540487122 Distribution: world Followup-To: alt.dev.null X-Abuse-Info: Otherwise we will be unable to process your complaint properly X-Complaints-To: abuse@gte.net X-Trace: +rqgtnrZW6k2iaxdLPmGbE+SqrYIpaS/iMN683ztU1JvEXE9dUax2VQyWuADXC17r3zP/W2BDdCp!HpdqSIWTH7nmORj9UGv5cHogR/k8hZGOGddAXHEuOr080LY3llPAi63ce4T5jkTdFc84Vg== User-Agent: slrn/0.9.5.7 (Windows) Reply-To: vtailor@gte.net NNTP-Posting-Date: Mon, 25 Oct 1999 21:23:09 GMT Newsgroups: news.software.readers