source: src/examples/Makefile.in @ 09a9a8b

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@…>, 10 years ago

licencing: seventh groups of files

  • Property mode set to 100644
File size: 1.6 KB
Line 
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
17CC := @CFA_BINDIR@/cfa
18CFLAGS = -g -Wall -Wno-unused-function -MMD
19MAKEFILE_NAME = ${firstword ${MAKEFILE_LIST}}   # makefile name
20
21OBJECTS1 = iostream.o fstream.o fstream_test.o
22EXEC1 = fstream_test
23
24OBJECTS2 = vector_int.o fstream.o iostream.o array.o iterator.o vector_test.o
25EXEC2 = vector_test
26
27OBJECTS = ${OBJECTS1} ${OBJECTS2}               # all object files
28DEPENDS = ${OBJECTS:.o=.d}                      # substitute ".o" with ".d"
29EXECS = ${EXEC1} ${EXEC2}                       # all executables
30
31########## Targets ##########
32
33.PHONY : all clean                              # not file names
34
35all : ${EXECS}                                  # build all executables
36
37${EXEC1} : ${OBJECTS1}                          # link step 1st executable
38        ${CC} ${CFLAGS} $^ -o $@                # additional object files before $^
39
40${EXEC2} : ${OBJECTS2}                          # link step 2nd executable
41        ${CC} ${CFLAGS} $^ -o $@                # additional object files before $^
42
43${OBJECTS} : ${MAKEFILE_NAME}                   # OPTIONAL : changes to this file => recompile
44
45-include ${DEPENDS}                             # include *.d files containing program dependences
46
47clean :                                         # remove files that can be regenerated
48        rm -f ${DEPENDS} ${OBJECTS} ${EXECS} *.class
49
50distclean : clean
Note: See TracBrowser for help on using the repository browser.