Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 01 Dec 1998 15:48:08 +0100
From:      chris_schumacher@t-online.de (Schumacher Christoph)
To:        freebsd-questions@FreeBSD.ORG
Subject:   makefile
Message-ID:  <4.1.19981201154518.0092ced0@pop.btx.dtag.de>

next in thread | raw e-mail | index | archive | help
--=====================_407718==_
Content-Type: text/plain; charset="us-ascii"

Hi !
Im using BSD 2.2.6 and id like to write programs to learn programing (logicaly)
Now i got a Makefile of my University, bur they say its a global makefile
for all unix'
I attached it. it neither works with gmake nor make....but i dont know why..??
Could you help me ??

Christoph
--=====================_407718==_
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: attachment; filename="Makerules.txt"




#
#
#
#=A0=A0 /export/home_ch/bin/gnu-make.rules ---> standard-makefile
#
#
#




#  gcc
#vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv


CC=3Dgcc


W1_CFLAGS=3D -Wcomment -Wformat -Wimplicit -Wparentheses -Wreturn-type
W2_CFLAGS=3D -Wunused=20
W3_CFLAGS=3D -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations
CFLAGS=3D -pedantic -Wuninitialized -O2 -g $(W1_CFLAGS)=A0 $(W2_CFLAGS)=A0=
 $(W3_CFLAGS)=20


CLIBS=3D-lm


#^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^


#  g++
#vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv


CPP=3Dg++


CPPFLAGS=3D=A0 -pedantic -fexceptions -g $(W1_CFLAGS)=A0 $(W2_CFLAGS)=A0=
 $(W3_CFLAGS)


CPPLIBS=3D-lm


#^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^



# global
#vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv


.SUFFIXES: .c .cc .C .CC .cpp .cxx


#^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^




# Make-Rules
#vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv




.c:=20
=A0=A0=A0=A0=A0=A0=A0=A0$(CC) $(CFLAGS) $< -o $* $(CLIBS)


.c.o:
=A0=A0=A0=A0=A0=A0=A0=A0$(CC) $(CFLAGS) $< -c=20



.cc=A0 .C=A0 .CC=A0 .cpp=A0 .cxx:=20
=A0=A0=A0=A0=A0=A0=A0=A0$(CPP) $(CPPFLAGS) $< -o $* $(CPPLIBS)



.cc.o .C.o .CC.o .cpp.o .cxx.o:
=A0=A0=A0=A0=A0=A0=A0=A0$(CPP) $(CPPFLAGS) $< -c=20


--=====================_407718==_--


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4.1.19981201154518.0092ced0>