home *** CD-ROM | disk | FTP | other *** search
Makefile | 1994-06-29 | 1.3 KB | 73 lines |
- #
- # DNET CLIENTS
- #
- # DNET (c)Copyright 1988, Matthew Dillon, All Rights Reserved.
- #
- # Originally Lattice C
- # Gcc dmakefile ERic mehlahff 11/30/92
-
- DEBUG =
- CC = gcc
- CFLAGS = -Idnet:amiga -Idnet:amiga/suplib $(DEBUG)
- BIN = ../bin/
- OD = ../client/
- MAKE = gcc:unix/usr/bin/make
-
- SRCS = cliterm.c fterm.c getfiles.c loadav.c putfiles.c statdnet.c \
- quitdnet.c RemoteLoad.c
-
- OBJS = cliterm.o fterm.o getfiles.o loadav.o putfiles.o statdnet.o \
- quitdnet.o RemoteLoad.o
-
- BINS = cliterm getfiles loadav putfiles statdnet quitdnet fterm RemoteLoad
-
- BINDIR = dnet:amiga/bin/
-
- SYMS = $(OD)client.m
- LIBS = -L../lib/ -L../suplib -ldnet -lsup -lamy
- DNETLIB = ../lib/libdnet.a
- RM = work:util/rm -f
- COPY = c:copy
-
- all: $(BINS)
-
- .c.o: ; $(CC) $(CFLAGS) -c $*.c
-
- cliterm: cliterm.o
- $(CC) -o $@ cliterm.o $(LIBS)
-
- fterm: fterm.o
- $(CC) -o $@ fterm.o $(LIBS)
-
- getfiles: getfiles.o $(DNETLIB)
- $(CC) -o $@ getfiles.o $(LIBS)
-
- loadav: loadav.o
- $(CC) -o $@ loadav.o $(LIBS)
-
- putfiles: putfiles.o
- $(CC) -o $@ putfiles.o $(LIBS)
-
- statdnet: statdnet.o
- $(CC) -o $@ statdnet.o $(LIBS)
-
- RemoteLoad: RemoteLoad.o
- $(CC) -o $@ RemoteLoad.o $(LIBS)
-
- quitdnet: quitdnet.o
- $(CC) -o $@ quitdnet.o $(LIBS)
-
- clean:
- $(RM) $(OBJS)
-
- reallyclean: clean
- $(RM) $(BINS)
-
- realclean: reallyclean
-
- install: all
- $(COPY) $(BINS) $(BINDIR)
-
- debug:
- $(MAKE) DEBUG="-DDEBUG -DMEM_DEBUG"
-