home *** CD-ROM | disk | FTP | other *** search
Makefile | 1994-04-06 | 1.7 KB | 92 lines |
- #
- # smakefile for LharcUUCP
- #
- # created by Peter Simons <simons@peti.GUN.de>
- #
-
- #
- # Labels:
- # =======
- #
- CC = sc
- MAKEINFO = makeinfo
- OBJS = LharcUUCP.o ScanDir.o SupportRoutines.o SystemDep.o
-
-
- # Compiler flags:
- # ===============
- #
- CFLAGS = PARAMETERS=REGS STRINGMERGE DEBUG=FF DEFINE=AMIGA
- # NOSTKCHK OPTIMIZE OPTIMIZERINLINELOCAL OPTIMIZERSIZE \
- # OPTIMIZERCOMPLEXITY=5 OPTIMIZERDEPTH=5 OPTIMIZERRECURDEPTH=5 \
-
-
- # Linker flags:
- # =============
- #
- LFLAGS =
-
-
- # Info flags:
- # ===========
- #
- IFLAGS = +fill-column 77
-
-
- #
- # Targets
- #
- all: LharcUUCP LharcUUCP.guide
- # default target
-
- text: LharcUUCP.doc
-
- install: LharcUUCP
- Copy LharcUUCP UUCPC: CLONE
-
- clear:
- Delete \#?.o \#?.lnk \#?.guide \#?.doc
-
- bump:
- SetEnv rev `Type LharcUUCP_rev.rev`
- Echo >>History "*n*n"
- Echo >>History "v0.$$rev: " NOLINE
- Date >>History
- MakeLogEntry \#?.c v0_$$rev
- UnSetEnv rev
- bumprev 0 LharcUUCP
- @Delete LharcUUCP_rev.i QUIET
-
- genproto:
- Delete protos.h
- sc \#?.c GENPROTO NOGPTDEF $(CFLAGS) GST LIB:Includes.gst
- Type \#?_protos.h >protos.h
- Delete \#?_protos.h
-
-
- #
- # Actions
- #
- .c.o:
- $(CC) $(CFLAGS) $*.c GST LIB:Includes.gst
-
- .texinfo.guide:
- $(MAKEINFO) +amiga-39 $(IFLAGS) $*.texinfo -o $*.guide
-
- .texinfo.doc:
- $(MAKEINFO) +no-headers $(IFLAGS) $*.texinfo -o $*.doc
-
- LharcUUCP: $(OBJS)
- $(CC) $(OBJS) TO LharcUUCP $(LFLAGS) LINK
- @Delete LharcUUCP.lnk QUIET
-
-
- #
- # Dependencies
- #
- SupportRoutines.o: SupportRoutines.c protos.h
- ScanDir.o: ScanDir.c
- LharcUUCP.o: LharcUUCP.c protos.h LharcUUCP_rev.h
- SystemDep.o: SystemDep.c protos.h
-
-