Sponsored Content
Top Forums Programming Gnu make: default values and conditionals Post 303006994 by dodona on Thursday 9th of November 2017 01:53:19 PM
Old 11-09-2017
Quote:
Originally Posted by Corona688
$[/code]Seems to work. The problem may be elsewhere, if there's anything to your makefile you haven't posted yet.
Thanks a lot!
I did the same job. Then I carefully copied all the working lines from the test makefile into the real one et voila: it works. The only real difference is that the
Code:
VARIABLE ?= DEF.VAL

now is located at the beginning of the makefile, whereas before it was placed somewhat in the middle part.
This User Gave Thanks to dodona For This Post:
 

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Problems with gnu make

I am running a make file through the gnu make tool and i am getting the following error jsh1035c:/users/egate453/admegate/kapil/samples $ make -f GNUmakefile queue_c make -f ./GNUmakefile queue_c in_objdir=1 build_root=/users/egate453/admegate/kapil/samples make: Entering directory... (2 Replies)
Discussion started by: handak9
2 Replies

2. UNIX for Advanced & Expert Users

GNU's make error codes - list

Hi, I often encounter make errors. Many a times, a corresponding error code is also shown, like make: Error 56 (ignored) make: Error 91 (ignored) make: Error 96 (ignored) et al. I tried google'ing as well as searching this forum for what these error codes mean. I know, make... (1 Reply)
Discussion started by: vino
1 Replies

3. UNIX for Dummies Questions & Answers

What's the difference between PMake and GNU Make?

My system is ubuntu, can I use PMake ? (0 Replies)
Discussion started by: meili100
0 Replies

4. Programming

Detecting host OS in Gnu make

Is this possible? Right now I'm developing some code for Linux, Windows and OS X. To build on each of the systems I've currently got separate build targets for each platform. Ideally I'd like to set up a single make rule that can detect the appropriate target and build it. I know this is... (2 Replies)
Discussion started by: G_Morgan
2 Replies

5. SCO

GNU cpp and make on SCO

Installed GNU make and the GNU C/C++ compiler on SCO Openserver 5.0.7 recently. Only a normal user is able to run make and compile programs - root is not able to. Under root, make do run, but root can't access the compiler at all, even tho I set root's path to point to the compiler.... (0 Replies)
Discussion started by: The_Librarian
0 Replies

6. Programming

A question about Makefile run by GNU make

Hello everybody, Currently I'm learning how to build projects (C programming) with GNU make. I have a problem with one Makefile and I would appreciate if you could kindly give me a hand. Here is the environment: OS: Redhat linux 5 compiler: gcc (GCC) 4.1.2 20080704 (Red Hat 4.1.2-44)... (2 Replies)
Discussion started by: dariyoosh
2 Replies

7. AIX

Not picking up the GNU version of make

Hi team, I am new to unix,and need your advice on the below. I am using aix5.3 and have installed make-3.82 on the server. I need to use gmake for configuring and installing a package ,but it is giving error at the below root@sapsrp:/usr/tmp/xymon-4.3.2 # ./configure.server ... (7 Replies)
Discussion started by: sonal kumar
7 Replies

8. Shell Programming and Scripting

GNU make doesn't pick up changes

It's been a while since I had to write a Makefile, but I've managed to clobber this together: SRC=module1.c module2.c OBJS=$(SRC:%.c=%.o) HDR=include1.h include2.h CC=gcc CFLAGS=-Wall -ggdb -D_XOPEN_SOURCE -I. -ansi all: program program: $(OBJS) $(CC) $(CFLAGS) -o $@ $(OBJS) ... (3 Replies)
Discussion started by: pludi
3 Replies

9. Shell Programming and Scripting

extension building make GNU Linux

Hi, I do "touch poub.mlc" Download my Makefile, But when I try : make -f Makefile.txt(.txt in order my file to be accepted for upload), it says:"no rule for poub.mlo target" What is wrong in my Makefile(test yourself please before posting)? (1 Reply)
Discussion started by: synhedionn
1 Replies

10. UNIX for Advanced & Expert Users

I received a WARN when was configuring GNU make,

When I tried to configure GNU make, I received:... WARNING: Your system has neither waitpid() nor wait3(). Without one of these, signal handling is unreliable You should be aware that running GNU make with -j could result in erratic behavior. ... What is that supposed to mean ? my spec: ... (1 Reply)
Discussion started by: abdulbadii
1 Replies
CABAL-DEBIAN(1) 					      General Commands Manual						   CABAL-DEBIAN(1)

NAME
cabal-debian - create Debian package meta data from a Haskell cabal file. SYNOPSIS
cabal-debian [flags] DESCRIPTION
cabal-debian will generated the Debian meta data for a Debian package from the cabal file of a Haskell package. The program expects to find the package's <pkgname>.cabal file in the directory from which it was run. --prefix=PATH Pass this prefix if we need to configure the package --ghc Compile with GHC. --hugs Compile with HUGS. --jhc Compile with JHC. --nhc Compile with NHC. -h, -?, --help Show this help text. --name=NAME Override the default package name. --disable-haddock Don't generate API docs. --disable-library-profiling Don't generate profiling libraries. --disable-optimization Don't generate optimised code. --disable-split-objs Don't split object files to save space. -f FLAGS, --flags=FLAGS Set given flags in Cabal conditionals. --release=RELEASE Override the default package release. --debdir=DEBDIR Override the default output directory ("./debian"). -v n,q --verbose=n Change build verbosity. --version=VERSION Override the default package version. --maintainer=Maintainer Name <email addr> Override the Maintainer name and email in $DEBEMAIL/$EMAIL/$DEBFULLNAME/$FULLNAME. --debianize Generate a new debianization, replacing any existing one. One of --debianize, --substvar, or --update-debianization is required. --substvar=Doc, Prof, or Dev Write out the list of dependencies required for the dev, prof or doc package depending on the argument. This value can be added to the appropriate substvars file. --update-debianization Update an existing debianization. AUTHOR
This manual page was originally written by Erik de Castro Lopo <erikd@mega-nerd.com> for the Debian GNU/Linux system (but may be used by others). May 10, 2010 CABAL-DEBIAN(1)
All times are GMT -4. The time now is 01:22 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy