ADTaaron-thesisarm-ehast-experimentalcleanup-dtorsctordeferred_resndemanglerenumforall-pointer-decaygc_noraiijacob/cs343-translationjenkins-sandboxmemorynew-astnew-ast-unique-exprnew-envno_listpersistent-indexerpthread-emulationqualifiedEnumresolv-newstringwith_gc
Last change
on this file since 09a9a8b was
843054c2,
checked in by Peter A. Buhr <pabuhr@…>, 9 years ago
|
licencing: seventh groups of files
|
-
Property mode set to
100644
|
File size:
1.6 KB
|
Rev | Line | |
---|
[b87a5ed] | 1 | ######################### -*- Mode: Makefile-Gmake -*- ######################## |
---|
| 2 | ## |
---|
| 3 | ## Cforall Version 1.0.0 Copyright (C) 2015 University of Waterloo |
---|
| 4 | ## |
---|
| 5 | ## The contents of this file are covered under the licence agreement in the |
---|
| 6 | ## file "LICENCE" distributed with Cforall. |
---|
| 7 | ## |
---|
| 8 | ## Makefile.in -- |
---|
| 9 | ## |
---|
| 10 | ## Author : Peter A. Buhr |
---|
| 11 | ## Created On : Sat May 16 11:34:24 2015 |
---|
| 12 | ## Last Modified By : Peter A. Buhr |
---|
| 13 | ## Last Modified On : Sat May 16 11:35:25 2015 |
---|
| 14 | ## Update Count : 2 |
---|
| 15 | ############################################################################### |
---|
| 16 | |
---|
[ad17ba6a] | 17 | CC := @CFA_BINDIR@/cfa |
---|
[b87a5ed] | 18 | CFLAGS = -g -Wall -Wno-unused-function -MMD |
---|
[134b86a] | 19 | MAKEFILE_NAME = ${firstword ${MAKEFILE_LIST}} # makefile name |
---|
[51b7345] | 20 | |
---|
[134b86a] | 21 | OBJECTS1 = iostream.o fstream.o fstream_test.o |
---|
| 22 | EXEC1 = fstream_test |
---|
[51b7345] | 23 | |
---|
[134b86a] | 24 | OBJECTS2 = vector_int.o fstream.o iostream.o array.o iterator.o vector_test.o |
---|
| 25 | EXEC2 = vector_test |
---|
[51b7345] | 26 | |
---|
[134b86a] | 27 | OBJECTS = ${OBJECTS1} ${OBJECTS2} # all object files |
---|
| 28 | DEPENDS = ${OBJECTS:.o=.d} # substitute ".o" with ".d" |
---|
| 29 | EXECS = ${EXEC1} ${EXEC2} # all executables |
---|
[51b7345] | 30 | |
---|
[134b86a] | 31 | ########## Targets ########## |
---|
[51b7345] | 32 | |
---|
[134b86a] | 33 | .PHONY : all clean # not file names |
---|
[51b7345] | 34 | |
---|
[134b86a] | 35 | all : ${EXECS} # build all executables |
---|
| 36 | |
---|
| 37 | ${EXEC1} : ${OBJECTS1} # link step 1st executable |
---|
[17cd4eb] | 38 | ${CC} ${CFLAGS} $^ -o $@ # additional object files before $^ |
---|
[134b86a] | 39 | |
---|
| 40 | ${EXEC2} : ${OBJECTS2} # link step 2nd executable |
---|
[17cd4eb] | 41 | ${CC} ${CFLAGS} $^ -o $@ # additional object files before $^ |
---|
[134b86a] | 42 | |
---|
| 43 | ${OBJECTS} : ${MAKEFILE_NAME} # OPTIONAL : changes to this file => recompile |
---|
| 44 | |
---|
| 45 | -include ${DEPENDS} # include *.d files containing program dependences |
---|
| 46 | |
---|
| 47 | clean : # remove files that can be regenerated |
---|
| 48 | rm -f ${DEPENDS} ${OBJECTS} ${EXECS} *.class |
---|
[ad17ba6a] | 49 | |
---|
| 50 | distclean : clean |
---|
Note: See
TracBrowser
for help on using the repository browser.