carbidecpp22devenv/configuration/org.eclipse.osgi/bundles/309/1/.cp/getting_started/make_example.htm
author cawthron
Fri, 04 Dec 2009 10:01:33 -0600
changeset 5 684bf18fdedf
permissions -rw-r--r--
add files for RCL_2_2
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
5
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
     1
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
     2
<html lang="en">
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
     3
<head>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
     4
	<meta http-equiv="Content-Language" content="en-us">
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
     5
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
     6
	<title>C++ Makefile example</title>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
     7
</head>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
     8
<body bgcolor="#ffffcc">
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
     9
<font color="#0066ff">Copy the script below and paste it into the <b>makefile</b> file in the Editor view:</font>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    10
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    11
<pre>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    12
all: hello
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    13
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    14
clean:
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    15
	-rm main.o hello.exe hello
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    16
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    17
hello: main.o
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    18
	g++ -g -o hello main.o
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    19
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    20
main.o: main.cpp
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    21
	g++ -c -g main.cpp
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    22
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    23
</pre>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    24
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    25
</body>
684bf18fdedf add files for RCL_2_2
cawthron
parents:
diff changeset
    26
</html>