Pelles C forum

C language => Tips & tricks => Topic started by: Rainbow Sally on January 02, 2005, 05:03:46 AM

Title: # The Mysteries Of Make #1
Post by: Rainbow Sally on January 02, 2005, 05:03:46 AM
Okay.  Hit a target once... so I'm feeling lucky.  :-)

Code: [Select]

####################################################
# 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



---------------
DOS - It's your right.  Use it or lose it.
Title: Mysteries of make move to new forum..
Post by: Rainbow Sally on January 02, 2005, 04:37:37 PM
The Mysteries Of Make are now being posted in our new forum.

 Work in progress
Doing research? Experimenting with algorithms, optimizations...?

Thanks Pele!

.