The Open Source Swiss Army Knife

/programmingToolBox/makefiles/
/programmingToolBox/makefiles/ + sub-categories
http://www.sirfsup.com/
web directory content
    
      

Not logged in
Chat Register Login
return to:  http:/www.sirfsup.com      /programmingToolBox   /makefiles 
sub-categories and articles

                                                  
   --->create new sub-category


4_libs.txt
add

CFLAGS=-Wall -L. LIBCFLAGS=$(CFLAGS) -D_REENTRANT -fPIC CC=gcc OBJS=ch9-1.o

all_vars_Makefile.txt
add

# Lines starting with the pound sign are comments. # # These things are options that you might need # to tweak.

make0.txt
add

CC = gcc # needed header # ./build_vxworks/db_config.h # ./build_win32/db_config.h

make0b.txt
add

OVERVIEW this package provides 3 libraries which are separately installed in /usr/local (default for ./configure scripts): libcgi.so, libsession.so, and libtemplate.so What all these libraries (this package of 3 libraries) provides are the session backend, the cgi backend to retrieve form variables from other pages to make a unified website,

make1.txt
add

# the working command-line version of this is: gcc -o ghttp -I/usr/lib/ -lghttp ghttp.c # everyhting works except for gcc -o ghttp ghttp.c /* the first line is the target == http */ /* http is therefore the target which must be specified */

make2.txt
add

editor: editor.o screen.o keyboard.o gcc -o editor editor.o screen.o keyboard.o editor.o: editor.c editor.h keyboard.h screen.h gcc -c editor.c

make3.txt
add

edit : main.o kbd.o command.o display.o insert.o search.o files.o utils.o cc -o edit main.o kbd.o command.o display.o insert.o search.o \ files.o utils.o main.o : main.c defs.h

make3_rev.txt
add

objects = main.o kbd.o command.o display.o insert.o search.o files.o utils.o edit : $(objects) cc -o edit $(objects) main.o : defs.h

make_director_descent.txt
add

# from apache/src/Makefile subdirs: @for i in $(SUBDIRS); do \ echo "===> $(SDP)$$i"; \

make_ndv_targets.txt
add

CXX = g++ targets = show_posix_ver show_test_macros \ test_config all : $(targets) test_ansi_c

make_with_shell_cmds
add

# The top level Makefile all: cd JustForFun amp;amp; $(MAKE) cd basics amp;amp; $(MAKE) cd forms amp;amp; $(MAKE)

make_with_shell_cmds.txt
add

# The top level Makefile all: cd JustForFun && $(MAKE) cd basics && $(MAKE)

makefile.htm
add

makefiles

  1. introduction
  2. variables used in the makefile
  3. make all

patt_subst.txt
add

# Lines starting with the pound sign are comments. # # This is one of two options you might need to tweak. EXECUTABLE = myprogram

w_shell.txt
add

CC=gcc CFLAGS := -Wall -O3 LINK := $(CC) EXECS = genrandom ch15-2

w_subdir.txt
add

  • You can include other Makefiles by using the include directive.
  • You can create conditional syntax in Makefiles, using ifdef, ifeq, ifndef, ifneq.
  •    --->upload your article


    User submitted category site links


    (None)

    -->submit a page from your site dealing with makefiles to the sirfsup! web directory for listing

    return to top