home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Fred Fish Collection 1.5
/
ffcollection-1-5-1992-11.iso
/
ff_disks
/
300-399
/
ff319.lzh
/
CNewsSrc
/
uupc.lzh
/
uupc
/
Makefile
< prev
next >
Wrap
Makefile
|
1990-01-16
|
1KB
|
62 lines
# Makefile for uu/dcp with Amiga Aztec C
# Jeff Lydiatt
# June/87
# Modeled after Stuart Lynne's for the Mac.
# For 32-bit ints, use:
# LFLAGS += -lc32
# CFLAGS += +L
LFLAGS= vsprintf.o vfprintf.o /libcnews.lib -lc
INCLUDE = /include
CC = cc
CFLAGS= -n -DFJE -DAMIGA -DCNEWS
LN = ln -g
MANX_OBJS = strnicmp.o
LATTICE_OBJS =
AMILIB= getcwd.o chdir.o mkdir.o ndir.o genv.o $(MANX_OBJS) $(LATTICE_OBJS)
SIOLIB= sio.o Timer.o SerialIO.o sleep.o
OFILES= dcp.o dcpsys.o dcpxfer.o dcpgpkt.o rmail.o lib.o rnews.o
.c.o:
$(CC) $(CFLAGS) $*.c
all: uupc mailx
#
# .o dependicies
#
dcp.o: dcp.c dcp.h l_host.h
dcpsys.o: dcpsys.c dcp.h l_host.h
dcpxfer.o: dcpxfer.c dcp.h l_host.h
dcpgpkt.o: dcpgpkt.c dcp.h l_host.h
lib.o: lib.c l_host.h
lmail.o: pcmail.c lmail.c l_host.h
mailhost.o: mailhost.c host.c l_host.h
mail.o: l_host.h
mlib.o: mlib.c l_host.h
ndir.o: ndir.c ndir.h
rmail.o: pcmail.c rmail.c l_host.h
ulib.o: ulib.c l_host.h
uuhost.o: uuhost.c host.c l_host.h
MAIL = mailhost.o mail.o lmail.o mlib.o lib.o $(AMILIB)
#
# mail
#
mailx: $(MAIL) Makefile
$(LN) $(MAIL) $(LFLAGS) -o mailx
UUPC = uuhost.o $(OFILES) ulib.o $(AMILIB) $(SIOLIB)
#
# uupc
#
uupc: $(UUPC) Makefile
$(LN) $(UUPC) heapmem.o $(LFLAGS) -o uupc
rnews.o: rnews.c
$(CC) $(CFLAGS) -I$(INCLUDE) $*.c