home *** CD-ROM | disk | FTP | other *** search
Makefile | 1993-11-11 | 1.5 KB | 70 lines |
- #
- # Smakefile for Qwriter
- #
- # Authors: AmiTCP/IP Group <AmiTCP-Group@hut.fi>,
- # jraja <Jarno.Rajahalme@hut.fi>
- # ppessi <Pekka.Pessi@hut.fi>
- # too <Tomi.Ollila@cs.hut.fi>
- # puhuri <Markus.Peuhkuri@hut.fi>
- #
- # Copyright (c) 1993. All rights reserved.
- #
- # Created : Sat Mar 20 02:44:57 1993 ppessi
- # Last modified: Fri Nov 12 03:09:41 1993 jraja
- #
-
- MAKE = smake
-
- RM= delete
- RM_RECURSIVE= delete all
- MKDIR= makedir
- INSTALL= copy dates all
-
- CC= sc
-
- SRC= main.c fcs.c ftp.c nfs.c telnet.c inet.c
- OBJS= main.o fcs.o ftp.o nfs.o telnet.o inet.o
- LIBS= NETLIB:net.lib MATH=STANDARD
-
- OPTFLAGS= Optimize Stripdebug NoDebug
- DEBUGFLAGS= NoOptimize DEBUG=FULLFLUSH
-
- DEFS= DEF=AMIGA DEFINE NO_DEBUG DEFINE NODB
- IDIRS= IDIR=netinclude:
- SCFLAGS= NOSTACKCHECK NOMULTIPLEINCLUDES \
- NOERRORSOURCE NOVERSION NOERRORHIGHLIGHT IGNORE=224 IGNORE=92 \
- SMALLCODE SMALLDATA \
- MAP MAPHUNK MAPSYMBOLS MAPLIB MAPXREFERENCE \
- LINKEROPTIONS=plain NOICONS \
- OPTINL OPTTIME OPTCOMP=5 OPTDEP=5 OPTRDEP=5 \
- $(IDIRS) $(DEFS)
-
- LD= slink
-
- all: qwriter
-
- qwriter: SCOPTIONS $(OBJS)
- $(CC) LINK TO $@ OBJ=$(OBJS) BATCH $(LIBS)#
-
- SCOPTIONS: Smakefile
- copy to $@ <from <
- $(OPTFLAGS) $(SCFLAGS)
- <
-
- # smake debug all to make a debugging version
- DEBUG:
- copy to SCOPTIONS <from <
- $(DEBUGFLAGS) $(SCFLAGS)
- <
-
- $(DEST)bin:
- $(MKDIR) $(DEST)bin
-
- install: all $(DEST)bin
- $(INSTALL) qwriter $(DEST)bin
-
- clean:
- -$(RM) \#?.o \#?.map \#?.lnk SCOPTIONS
-
- # DO NOT DELETE THIS LINE -- make depend depends on it.
-