home *** CD-ROM | disk | FTP | other *** search
Makefile | 1993-12-22 | 2.3 KB | 58 lines |
- #***************************************************************************
- #* *
- #* @@@@ @@@ @@@@@ @@@@@ @@@@@ @@@ @@@@ @ @ @@@@@ @@@@@ @@@@ @@@ *
- #* @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ *
- #* @ @ @ @@@@@ @ @@@@@ @ @@@@@ @ @ @ @@@@@ @ @ @ *
- #* @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ *
- #* @@@@ @@@ @@@@@ @ @ @ @@@ @@@@ @@@@@ @ @@@@@ @@@@ @@@ *
- #* *
- #* A compiler for distributed programming with C *
- #* *
- #* M a k e f i l e *
- #* *
- #* Version 1.0 CreationDate: 27.07.91 *
- #* LastUpDate: 31.07.91 *
- #* *
- #* The traveling salesman problem. *
- #* The makefile to build the executables. *
- #* *
- #* Copyright (C) 1991 by Christoph Pleier. *
- #* All rights reserved! *
- #***************************************************************************/
-
- MAKE = make
- ECHO = @echo
- CC = dcinstall
- CFLAGS = $(TARGETS)
- LD = dcinstall
- LFLAGS = $(TARGETS)
- LIBS =
-
- TARGETS = -target local
-
- germany: travel.mf
- cp germany.c data.c
- $(CC) $(CFLAGS) -c config.h data.c
- touch $@
- $(MAKE) -f travel.mf
-
- demo: incl
- cp demo.c data.c
- $(CC) $(CFLAGS) -c config.h data.c
- touch $@
- $(MAKE) -f travel.mf
-
- travel.mf: travel.dc config.h
- $(ECHO) ""
- $(ECHO) "***** Compiling 'travel.dc' to standard code"
- dcc -L "data.o" -C "$(TARGETS)" travel.dc
-
- new:
- @touch travel.dc
- $(MAKE) travel.mf clean
- $(MAKE) travel
-
- clean:
- -find . -name travel.mf -exec make -f {} clean \;
- -\rm -f *.o travel data.c dcc.debug dcadmin.debug germany demo incl
-