home *** CD-ROM | disk | FTP | other *** search
Makefile | 1994-11-02 | 1.5 KB | 101 lines |
- #
- # $VER: makefile 1.5 (22.06.94)
- #
- # makefile for accounts.library
- # © Copyright 1994 by Norbert Püschel
- # All Rights Reserved
- #
-
- #------------------ files -------------------------------------------------
-
- MAIN_TARGETS = accounts.library LoadAccounts
-
- CINCL = daemon.h
-
- CSRC = accountslib.c accounts.c daemon.c
-
- COBJS = accountslib.o accounts.o daemon.o
-
- ASRC =
- AOBJS =
-
- LHDR = accountshdr.o
-
- DCF = DEF=__USE_SYSBASE
-
- CF = $(DCF) NOSTKCHK IDIR=/include
-
- DAF =
-
- AF = $(DAF) -iINCLUDE: -i/include/
-
- LOPTS = SC SD ND NOICONS
-
- LLIBS = LIB:sc.lib LIB:amiga.lib
-
- #------------------ rules -------------------------------------------------
-
- .a.o:
- asm $(AF) $*.a
-
- .c.o:
- sc $(CF) $*.c
-
- .fd.i:
- fd2i $*.fd $@
-
- .fd.a:
- fd2stub $*.fd $@
-
- .o.lib:
- oml $@ r $?
-
- .a.doc:
- autodoc >$@ -a -I -t8 $(ASRC)
-
- .c.doc:
- autodoc >$@ -C -c -I -t8 $(CSRC)
-
- #------------------ commands ---------------------------------------------
-
- all: $(MAIN_TARGETS)
-
- # bump
-
- bump:
- bumprev 1 accounts.library
-
- # LoadAccounts
-
- LoadAccounts: LoadAccounts.o
- slink from LoadAccounts.o lib lib:amiga.lib
-
- LoadAccounts.o: LoadAccounts.c
- sc $(CF) LoadAccounts.c
-
- # library
-
- accounts.library: $(LHDR) $(AOBJS) $(COBJS)
- slink < WITH <
- $(LOPTS)
- FROM $(LHDR) $(AOBJS) $(COBJS)
- TO $@
- LIB $(LLIBS)
- <
- copy $@ LIBS: clone
- avail >NIL: flush
- avail >NIL: flush
-
- accountslib.o: accountslib.c
-
- accounts.o: accounts.c
-
- daemon.o: daemon.c
-
- accountshdr.o: accountshdr.a accounts.library_rev.i
- asm $(AF) accountshdr.a
-
- $(COBJS): $(CINCL)
-
-
-