home *** CD-ROM | disk | FTP | other *** search
Makefile | 1993-12-21 | 1.7 KB | 78 lines |
- #
- # Smakefile for route
- #
- # Copyright © 1993 AmiTCP/IP Group, <amitcp-group@hut.fi>
- # Helsinki University of Technology, Finland.
- # All rights reserved.
- #
- # Created : Mon Mar 22 07:17:50 1993 ppessi
- # Last modified: Sat Oct 9 00:11:22 1993 ppessi
- #
- # $Log: Smakefile,v $
- # Revision 1.4 1993/10/14 00:04:15 ppessi
- # SCOPTIONS is now created automatically from Smakefile
- #
- # Revision 1.3 1993/08/12 09:32:18 jraja
- # Changed email address.
- #
- # Revision 1.2 1993/05/04 13:43:27 jraja
- # *** empty log message ***
- #
- # Revision 1.1 93/05/03 10:29:30 10:29:30 jraja (Jarno Tapio Rajahalme)
- # Initial revision
- #
- #
-
- MAKE = smake
-
- PROG= route
-
- RM= delete
- CC= sc
- LD= slink
-
- SRC= $(PROG).c
- OBJS= $(PROG).o
- LIBS= LIB NETLIB:net.lib
-
- OPTFLAGS= Optimize Stripdebug NoDebug
- DEBUGFLAGS= NoOptimize DEBUG=FULLFLUSH
-
- DEFS="DEF=RCS_ID_C=static char *rcsid" \
- DEF=AMIGA
- IDIRS= IDIR=netinclude:
- SCFLAGS= STRINGMERGE STRUCTUREEQUIVALENCE \
- NOSTACKCHECK NOMULTIPLEINCLUDES \
- NOERRORSOURCE NOVERSION NOERRORHIGHLIGHT \
- SMALLCODE SMALLDATA \
- MAP MAPHUNK MAPSYMBOLS MAPLIB MAPXREFERENCE \
- LINKEROPTIONS=plain NOICONS \
- OPTINL OPTTIME OPTCOMP=5 OPTDEP=5 OPTRDEP=5 \
- $(IDIRS) $(DEFS)
-
- $(PROG): SCOPTIONS $(OBJS)
- $(CC) LINK TO $@ OBJ $(OBJS) BATCH $(LIBS)
-
- $(PROG)1: SCOPTIONS $(OBJS)
- $(CC) LINK TO $@ OBJ $(OBJS) netlib:autoinit1.o BATCH $(LIBS)
-
- $(PROG)2: SCOPTIONS $(OBJS)
- $(CC) LINK TO $@ OBJ $(OBJS) netlib:autoinit2.o BATCH $(LIBS)
-
- SCOPTIONS: Smakefile
- copy to $@ <from <
- $(OPTFLAGS) $(SCFLAGS)
- <
-
- # smake clean debug all to make a debugging version
- DEBUG:
- copy to SCOPTIONS <from <
- $(DEBUGFLAGS) $(SCFLAGS)
- <
-
- clean:
- -$(RM) \#?.o \#?.map \#?.lnk SCOPTIONS
-
- # DO NOT DELETE THIS LINE -- make depend depends on it.
-
-