# Sample simple Makefile for multiple targets (exec1, exec2)
all : exec1 exec2
exec1 : exec1.cpp
g++ -ansi -Wall -f -o exec1 exec1.cpp
exec2 : exec2.cpp
g++ -ansi -Wall -f -o exec2 exec2.cpp
clean :
rm -f exec1 exec2
# Sample simple Makefile for multiple targets (exec1, exec2)
all : exec1 exec2
exec1 : exec1.cpp
g++ -ansi -Wall -f -o exec1 exec1.cpp
exec2 : exec2.cpp
g++ -ansi -Wall -f -o exec2 exec2.cpp
clean :
rm -f exec1 exec2
Tired of Open Office giving you .8″ margins, when you expect the usual 1″? Here’s how to set up a template so that new documents will have your preferred margins set by default.
Create a New Document
Go to Format -> Page to set up your margins as you’d like them
Go to File -> Templates -> Save
Save as My Templates -> Default (or whatever name you’d prefer)
Now go to File -> Templates -> Organize
Select your template file (ie, My Templates -> Default)
Commands -> Set as Default Template.
Now when you create a new document, your margins should be set to your preferences already.