Hi,
This stems from the following thread https://www.unix.com/showthread.php?t=18299
I have a makefile which makes either executables or a shared library.
i.e. make -f unix.mak will create the executables and
make -f unix.mak libolsv will create the shared library.
Since these have to be... (4 Replies)
Hi,
I am getting the following error while building on Solaris 64 , while I am trying to build.
Error Snippet :-
----------------------
Makefile:57: *** multiple target patterns. Stop.
make: Leaving directory `/work1/patch/vds6053sun64o/vobs/jvi'
make: *** Error 2
make: Leaving directory... (0 Replies)
Hello,
I'm having a problem with a makefile script i'm trying to write.
I want to compile a C++ program in two possible ways: "make"
(default target, main) and "make debug". When i supply the debug
target, exactly the same as main should be built, but then with the
DEBUG flag (-g -D... (2 Replies)
Greetings!
Basically, I would like to properly handle this with gnu make:
alltools: my_tool mysecond_tool mythird_tool etc_tool
%_tool: dir1/%_tool.vf dir2/%_tool/subdir2/%_tool.ver
<tab>@echo done
%.vf:
<tab>RUN_VF $*
%.ver:
<tab>RUN_VER $*
So, if I were to do something like:... (0 Replies)
I can't seem to get a rule in my Makefile to ever run... even if I change the rule to force make to re-enter the rule, or if I change the dependent files the rule depends on. Any ideas why the second rule is being ignored here?
#MAKEFILES = $(DIRS:%=$(ROOT)/%/Makefile)
#$(MAKEFILES):... (0 Replies)
hello all,
attached you can find a tool (written in C) that i really need to make it compile under linux
i am able to compile and run it successfully in mac os x, but in linux the compilation fails
the only thing that i did so far is to change the following
#include <sys/malloc.h> to... (13 Replies)
I have been trying to split up my src directory to clear out files that are not re-compiled very often. Now I have the following setup in my trunk,
trunk/bld
trunk/src/
trunk/src/src_server
trunk/makefile.linux
In the make file, I have compile rules
SOURCELOC = src
# compile src c++... (4 Replies)
Goal: I'm trying to create a PHONY target inside my Makefile so that when I run the command "make backup",
It will move all the files that end in "~" into the specified backup folder.
Here is my code currently, and I'll explain the problem after:
.PHONY: backup
backup:
@mkdir -p... (2 Replies)
Hi everybody,
I have a Makefile where a single suffix rule is defined:
.SUFFIXES: .cpp
.cpp.o:
${CXX} ${CXXFLAGS} -c -o $@ $<
And I'd like to create another where an additional flag is added to compile in SMP. Right now, I have to do it like this:
interface-smp.o:... (2 Replies)
Hi all,
I want to know the entry point (default rule to be executed) in a makefile once all defined variables are evaluated. I do not have all: in my makefile and I give
"make" without any parameter in command line.
thanks........ (3 Replies)
Discussion started by: useless79
3 Replies
LEARN ABOUT DEBIAN
ost_commandoptionparse
ost::CommandOptionParse(3) Library Functions Manual ost::CommandOptionParse(3)NAME
ost::CommandOptionParse -
This is the CommandOptionParse interface class.
SYNOPSIS
#include <cmdoptns.h>
Public Member Functions
virtual ~CommandOptionParse ()=0
Virtual destructor needed so that the object may be correctly deleted.
virtual bool argsHaveError ()=0
Get the value of the error flag set if the parser encountered errors.
virtual const char * printErrors ()=0
Return a string of text describing the list of errors encountered.
virtual const char * printUsage ()=0
Return a string that contains the usage description of this list of paramaters.
virtual void registerError (const char *errMsg)=0
Register an error with this parser.
virtual void performTask ()=0
The method should be invoked by the main code once it has determined that the application should be started.
Detailed Description
This is the CommandOptionParse interface class.
To implement this object you can call makeCommandOptionParse(); This will instantiate a dynamically allocated version of this class and
parse the command line for the list of command options that are passed in.
Author:
Gianni Mariani gianni@mariani.ws
Examples:
cmdlineopt.cpp.
Constructor & Destructor Documentation
virtual ost::CommandOptionParse::~CommandOptionParse () [pure virtual]
Virtual destructor needed so that the object may be correctly deleted.
Member Function Documentation
virtual bool ost::CommandOptionParse::argsHaveError () [pure virtual]
Get the value of the error flag set if the parser encountered errors.
Examples:
cmdlineopt.cpp.
virtual void ost::CommandOptionParse::performTask () [pure virtual]
The method should be invoked by the main code once it has determined that the application should be started.
Examples:
cmdlineopt.cpp.
virtual const char* ost::CommandOptionParse::printErrors () [pure virtual]
Return a string of text describing the list of errors encountered.
Examples:
cmdlineopt.cpp.
virtual const char* ost::CommandOptionParse::printUsage () [pure virtual]
Return a string that contains the usage description of this list of paramaters.
Examples:
cmdlineopt.cpp.
virtual void ost::CommandOptionParse::registerError (const char *errMsg) [pure virtual]
Register an error with this parser. This string will be appended to the errors already buffered in this object.
Examples:
cmdlineopt.cpp.
Author
Generated automatically by Doxygen for GNU CommonC++ from the source code.
GNU CommonC++ Sat Jun 23 2012 ost::CommandOptionParse(3)