C language > Tips & tricks
# The Mysteries Of Make #1
(1/1)
Rainbow Sally:
Okay. Hit a target once... so I'm feeling lucky. :-)
--- Code: ---
####################################################
# Using POMAKE.EXE to write files.
# The Mysteries Of Make #1
# Save this file as "make_hello.txt"
# Usage: on the command line type POMAKE -f make_hello.txt
####################################################
# Here's what we want to write
MSG = Hello!
####################################################
# .SILENT = echo off
.SILENT
####################################################
# This is the uh... "target". The Name can be anything.
hello.txt:
echo $(MSG) >HELLO.TXT
--- End code ---
---------------
DOS - It's your right. Use it or lose it.
Rainbow Sally:
The Mysteries Of Make are now being posted in our new forum.
Work in progress
Doing research? Experimenting with algorithms, optimizations...?
Thanks Pele!
.
Navigation
[0] Message Index
Go to full version