home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Club Amiga de Montreal - CAM
/
CAM_CD_1.iso
/
files
/
550b.lha
/
Term_v1.8a
/
Libs.LZH
/
Libs
/
XprXModem
/
Makefile
< prev
next >
Wrap
Makefile
|
1991-07-26
|
944b
|
43 lines
# Makefile for Manx Aztec 5.0b
#
# 2i:dmp is a dump file containing precompiled preliminary
# 2.0 includes (6/22/90-Atlanta DevCon)
#
CFLAGS= -pp -hi2i:dmp -so -wl -wd -wp
OBJS = libstart.o libsup.o callback.o xprxmodem.o dlink.o
LIBPRAG = xprxmodempragmas.h
LIBINCL = xprxmodem.h $(LIBPRAG)
GOAL = libs:xprxmodem.library
ARCH = xprxmodem.LZH
.c.o:
@echo "
Compiling
'$*' module,"
@cc $(CFLAGS) -o $@ $*.c
.asm.o:
@echo "
Assembling
'$*' module,"
@as -o $@ $*.asm
$(GOAL): $(OBJS)
@echo "
Linking
modules,"
@ln -o $(GOAL) $(OBJS) -lc
@avail >NIL: flush
$(LIBPRAG): xprxmodem.fd
fd -o $(LIBPRAG) xprxmodem.fd
libsup.o: $(LIBINCL)
xprxmodem.o: $(LIBINCL) proto-callback.h proto-dlink.h
dlink.o: $(LIBINCL) proto-dlink.h proto-xprxmodem.h proto-callback.h
clean:
@delete #?.o $(ARCH)
distrib: $(GOAL) clean
lharc -r a $(ARCH) xprxmodem.doc Makefile $(GOAL) xprxmodem.fd #?.c #?.h #?.asm X/#?