home *** CD-ROM | disk | FTP | other *** search
Makefile | 1993-12-22 | 2.6 KB | 72 lines |
- #***************************************************************************
- #* *
- #* @@@@ @@@ @@@@@ @@@@@ @@@@@ @@@ @@@@ @ @ @@@@@ @@@@@ @@@@ @@@ *
- #* @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ *
- #* @ @ @ @@@@@ @ @@@@@ @ @@@@@ @ @ @ @@@@@ @ @ @ *
- #* @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ *
- #* @@@@ @@@ @@@@@ @ @ @ @@@ @@@@ @@@@@ @ @@@@@ @@@@ @@@ *
- #* *
- #* A compiler for distributed programming with C *
- #* *
- #* M a k e f i l e *
- #* *
- #* Version 1.0 CreationDate: 19.10.90 *
- #* LastUpDate: 19.10.90 *
- #* *
- #* The makefile to generate the process killer process. *
- #* *
- #* Copyright (C) 1990 by Franz Distler and Christoph Pleier. *
- #* All rights reserved! *
- #***************************************************************************/
-
- #.SILENT
-
- # Some utility programs
- SHELL = /bin/sh
- MAKE = make
-
- # The path of the include files
- INCLUDEDIR = ../include
-
- # Include target system specific macros
- include ../macros
-
- # Set appropriate macros
- CC = $(CC_DCK)
- CFLAGS = $(CFLAGS_DCK) -I$(INCLUDEDIR)
- LD = $(LD_DCK)
- LDFLAGS = $(LDFLAGS_DCK)
- LIBS = $(LIBS_DCK)
-
- # The name of the administration process
- KILLERNAME = dckill
-
- # All source files needed to build the administration process
- SRCS = dckill.c
-
- # All object files needed to build the administration process
- OBJS = $(SRCS:.c=.o)
-
- # All include files needed to build the administration process
- INCLFILES = $(INCLUDEDIR)/config.h $(INCLUDEDIR)/extern.h \
- $(INCLUDEDIR)/version.h
-
- .c.o:
- @echo "***** Compiling $<"
- $(CC) $(CFLAGS) -c $<
-
- all:
- @echo ""
- @echo "BUILDING THE PROCESS KILLER PROCESS..."
- $(MAKE) $(KILLERNAME)
- @echo DONE!
-
- $(KILLERNAME): $(INCLFILES) dckill.c
- $(CC) $(CFLAGS) -c dckill.c
- $(LD) -o $(KILLERNAME) $(LDFLAGS) dckill.o $(LIB)
-
- clean:
- @echo "Cleaning the directory..."
- -\rm -f *.o $(KILLERNAME)
- @echo done!
-