Skip to content
This repository has been archived by the owner on Jan 4, 2022. It is now read-only.

Commit

Permalink
Added base version from ExtReadArgs.
Browse files Browse the repository at this point in the history
  • Loading branch information
Stefan Ruppert committed Jan 8, 1995
1 parent 4239cfb commit fdbd869
Show file tree
Hide file tree
Showing 18 changed files with 1,194 additions and 0 deletions.
29 changes: 29 additions & 0 deletions ReadMe
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
ExtReadArgs - ReadMe
====================

Here is a transparent CLI/Workbench ReadArgs() interface !

No guarantee of any kind is given that the programs described in
this document are 100% reliable. You are using this material at your
own risk. The author takes no responsibility for any damage which
is caused by using these programs.

You can modify the source for your own purposes, and if you think it's
a enhancement please send it to me, so I can include these changes to the
next release.

To install the header and object file just double click the SMakeFile icon
for SASC. If you want to remake it with SASC, replace the "install" ToolType
with the "release" ToolType and double click the icon !

If you remake ExtReadArgs(), the makefile will use two programs to extract
and convert the docs (makedoc and xrefconvert).If you don't have these
programs the make ignores the command not found error.

(C) Copyright 1994,1995 by Stefan Ruppert

Stefan Ruppert
Windthortstra�e 5
65439 Fl�rsheim am Main
GERMANY

Binary file added ReadMe.info
Binary file not shown.
100 changes: 100 additions & 0 deletions SMakefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,100 @@
#
# makefile for FinalRDArgs()
#
# $VER: SMakeFile 1.2 (08.01.95)
#
# by Stefan Ruppert
#

NAME = extrdargs
VERSION = 1
REVISION = 5

DOC2GUIDE = xrefconvert
AUTODOC = makedoc
CC = sc
RM = delete quiet
MV = rename

DEBUG = DEFINE=DEBUG_CODE DEBUG=LINE
CFLAGS = NOSTKCHK VERBOSE
ADFLAGS = BEGIN "/**LL******" END "******" SKIPSTRING "**" CONVERTCOMMENTS TOC VERBOSE

SRCS = $(NAME).c
HEADER = $(NAME).h
OBJS = $(NAME).o
DOC = $(NAME).doc
GUIDE = $(NAME).guide
RELEASE = $(NAME)_v$(VERSION).$(REVISION)
README = ReadMe
TEST = test
TESTTMP = test.o test.lnk

##############
#
# work
#

all: $(OBJS) $(TEST)


.c.o:
$(CC) $(DEBUG) $(OPTIMZE) $(CFLAGS) $*.c

.c.doc:
-$(AUTODOC) $*.c AUTODOC $*.doc $(ADFLAGS)

.doc.guide:
makexref $(DOC) $(HEADER) to t:extrdargs.xref category TEMP NOICON
loadxref t:extrdargs.xref
xrefconvert FROM $*.doc TO "" VERBOSE
expungexref category TEMP
$(RM) $*.guide
$(MV) $* $*.guide

$(TEST) : $(OBJS) test.c
$(CC) $(CFLAGS) $(OBJS) LIB lib:debug.lib LINK test.c PNAME test

#############
#
# dependencies
#

$(OBJS) : $(HEADER)


#############
#
# SASC Install
#

install:
copy $(OBJ) sc:lib/
copy $(HEADER) sc:include

#############
#
# make release
#

release: clean $(DOC) $(GUIDE) makerelease


makerelease:
smake DEBUG= OPTIMZE=OPT
-$(RM) $(TESTTMP)
lha -r u Release:$(RELEASE).lha /$(NAME)/#?
echo "Short: WB/CLI transparent ReadArgs() Interface v$(VERSION).$(REVISION)" >pipe:aminetreadme
echo "Author: Stefan Ruppert" >pipe:aminetreadme
echo "Type: dev/misc*n" >pipe:aminetreadme
copy $(README) to pipe:aminetreadme
type pipe:aminetreadme >Release:$(RELEASE).readme

#############
#
# clean up
#

clean:
-$(RM) $(OBJS) $(TEST) $(TESTTMP)

Binary file added SMakefile.info
Binary file not shown.
Loading

0 comments on commit fdbd869

Please sign in to comment.