Re: XForms: Makefile Example

Daniel Blvmer (bloemer@cs.uni-bonn.de)
Mon, 29 Sep 1997 22:48:47 +0200

To subscribers of the xforms list from Daniel Blvmer <bloemer@cs.uni-bonn.de> :

This is a multi-part message in MIME format.

--------------3A43C00473A905B0C364A23
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

HI,

Anthony J. Hunter wrote:
> 1) send me a Makefile example so that I can compile my projects.
I have appended it

> 3) Point me in the direction of a good programmers workbench so that
Try Emacs

-- 
                                live long and prosper

Daniel Bloemer

>> "This Software requires Window95 or better ..." << So I installed Linux.... >> << Never touch a running System, just Shoot it Up >> << MY Homepage : http://titan.cs.uni-bonn.de/~bloemer >>

Would You please look at this. >>>>>>> FLASH <<<<<<<<

--------------3A43C00473A905B0C364A23 Content-Type: text/plain; charset=us-ascii; name="Makefile" Content-Disposition: inline; filename="Makefile" Content-Transfer-Encoding: 7bit

# # 970128 ws@uran.informatik.uni-bonn.de whymakeandcandh # Beispiel Makefile fuer nimmermuede #include<sourcefile> Fanatiker # #

CC=g++ C=gcc

CFLAGS = -g STFLAGS = -static # CFLAGS = -O2 # CFLAGS += -Danderecflagsjustforfun

SRC = map3d.cpp \ map2d.cpp \ master_window.cpp \ main.cpp

OBJ = ${SRC:%.cpp=%.o} OOBJ = Mike/memory_classes.o

PRG = client STPRG = client.static

INCLUDEDIR = -I. \ -I/usr/lib \ -I/usr/X11R6/include/X11 # -I/home/stud/follwerk/private/xforms/FORMS

INCLUDES = $(INCLUDEDIR)

LIBDIR = -L. -L/usr/X11R6/include/X11 # -L/usr/openwin/lib

LIBS = $(LIBDIR) -lezx -lforms -lX11

all: ${PRG}

${OBJ}: ${SRC} $(CC) -c $(CFLAGS) $(INCLUDES) ${SRC}

# Das Wunderwerk itself ${PRG}: ${OBJ} ${CC} -o${PRG} ${OBJ} ${OOBJ} ${LIBS}

# raeumt den Mist wieder weg und laesst nur den source Zustand uebrig clean: rm -f ${PRG} ${STPRG} ${OBJ} ${STOBJ} core

# make depend erstellt die .h files dependencies depend: makedepend ${CFLAGS} ${INCLUDES} ${SRC}

#$(OBJ): Makefile # DO NOT DELETE

--------------3A43C00473A905B0C364A23--

_________________________________________________ To unsubscribe, send the message "unsubscribe" to xforms-request@bob.usuf2.usuhs.mil or see http://bob.usuf2.usuhs.mil/mailserv/xforms.html Xforms Home Page: http://bragg.phys.uwm.edu/xforms List Archive: http://bob.usuf2.usuhs.mil/mailserv/list-archives/