The following:
says that the file gq.o needs to be brought up-to-date if any of the four files:
in the current working directory are newer than gq.o or if any of those files do not exist. Neither of the last two files in that list exist in the current directory, and you have not supplied any rules that tell make how to build those files. The third file in that list looks like it might be an option to gcc to tell it how to find bb.h while it is compiling gq.cc to build gq.o, but it does not tell make how to find bb.h. (But the pathname you specified for bb.h [/home/turing/z1755294/assign1/assign1/includes] does not seem to be what is specified by -I/asign1/includes.)
If you are sitting in the directory /home/turing/z1755294/assign1/assign1 when you run make and the files gq.cc and ac.h are in that directory, what pathnames (absolute or relative) can be used to enable make to find the file bb.h?
hello!
i want to create a Makefile on the freebsd 4.5,so i vi the hello.c
#include
int main(int argc, char** argv)
{
printf(''Hello, GNU!\n'');
return 0;
}
#autoscan
#cp configure.scan configure.in
#vi configure.in
modify:AC_OUTPUT AC_OUTPUT(Makefile)
#aclocal
#autoconf... (0 Replies)
Hi ,
While trying to compile a PRO*C code on unix using makefile i get the following errors. i am now working on a 10g migration (from 8i) ...
these makefile perfectly work in previous version.
ld: fatal: file... (7 Replies)
I am mirroring a single partition drive with raidctl. The source partition was mounted when I created the mirror with raidctl -c c1t1d0 c1t3d0. The source disk was defined with s2 and s6 only.
I didn't think to umount it first.
Is there a problem with that? (2 Replies)
Hi all,
I have a requirement to create a "superset" file out of a number of different sources with some different and some same columns.
We intend to have a manually updateable SuperSetCols.csv which would look like
"ColA","ColB","ColC","ColD","ColE","ColF","ColG"
so someday we may add... (3 Replies)
Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted!
1. The problem statement, all variables and given/known data:
Basically, the prompt is make a makefile with various sub makefiles in their respective subdirectories. All code... (1 Reply)
hi all,
I have written a simple C program hello.c and a Makefile.ac but when i try to run automake it does not create Makefile.in hence I am not able to run ./configure command in my directory. Following are the containts of my prog.
hello.c
--------
Code:
#include<stdio.h>
main()
{... (0 Replies)
Hello,
i'm having a problem here with FreeBSD 9.2 . I've created a directory and downloaded the latest ntp-4.2.8p1-beta2 from ntp.org. Untar then into the directory and then
./configure all went OK. Then i had to modify some parameters in the config.h created with ./configure . Then
make... (2 Replies)
Hello,
My makefiles are set up to generate an environment specific build directory based on the local configuration and some values passed to make. It generally looks like,
# compilers, may be passed to make
CC++ = g++
FCOMP = gfortran
# version of program, may be passed to make
ver =... (4 Replies)
Discussion started by: LMHmedchem
4 Replies
LEARN ABOUT DEBIAN
wml::mod::makemaker
wml::mod::MakeMaker(3) EN Tools wml::mod::MakeMaker(3)NAME
wml::mod::MakeMaker - A Makefile generator
SYNOPSIS
#!wml -o Makefile
#use wml::mod::MakeMaker
<write-makefile [attributes]>
DESCRIPTION
This include file provides an easy way to write a Makefile to distribute your own WML modules. It is inspired by the "ExtUtils::MakeMaker"
Perl module.
Default targets
make all
This is the default target. It will build all include files and their documentation.
make install
Install include files and documentation in the locations given by ``wml -V2''.
make clean
Remove files generated by make.
make distclean
Like make clean, plus remove the Makefile too.
make dist
Build a distribution. Should only be used by the module maintainer. If there is a MANIFEST file, then the list of files to include is
taken from this file. Otherwise the tarball contains all source files, plus MakeMaker.wml, Makefile.wml, shtool and README if these
files exist.
Overriding default targets
To build the Makefile, all targets are put in separate buffers during pass 3, and those buffers are diverted by pass 5. You can override
this defaukt target by redefining buffer contents. Buffer names are explicit:
MK_ALL MK_INSTALL MK_CLEAN MK_DISTCLEAN MK_CONFIG MK_RELEASE
Defining new targets
The MK_USER is empty and devoted to this task.
ATTRIBUTES
The first three attributes are mandatory.
package
The name of the package
version
Its version number
modules
List of modules to build and install. This is a space separated list of filenames. Modules should reside in a sub-directory to be
compliant with actual file hierarchy. For instance, the declaration
modules="math/log.tmpl math/exp.tmpl"
tells that after compilation, there are two modules which are "math/log.tmpl" and "math/exp.tmpl". This modules will be installed to
"LibDir/include/math/log.tmpl" and "LibDir/include/math/exp.tmpl".
These modules will then be called in a WML file by
#use tmpl::math::log
#use tmpl::math::exp
Source files for these modules are obtained by replacing the suffix by .src.
src-ext
Defines an alternate suffix for the source files.
man-ext
Section number of the manual in which man files are put. Default is 3.
extradistfiles
Space separated list of files to include in a distribution. By default, all source files plus MakeMaker.wml, Makefile.wml, README and
shtool are included in a distribution.
EXAMPLE
<write-makefile
package="log"
version="3.14"
modules="math/log.tmpl"
source-ext="exp"
>
This will build the tmpl::math::log include module from the math/log.exp source file. This source file will also produce the
tmpl::math::log(3) manpage.
NOTES
Please do _not_ use a ".wml" suffix for your modules, they should be reserved for official WML modules shipped with WML. You may instead
put your initials or anything else.
AUTHOR
Denis Barbier
barbier@engelschall.com
REQUIRES
Internal: P1, P2, P3, P5
External: --
EN Tools 2014-04-16 wml::mod::MakeMaker(3)