To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.robotics.handyboardOpen lugnet.robotics.handyboard in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / Handy Board / 2236
2235  |  2237
Subject: 
Minor Correction to 'Makefile'
Newsgroups: 
lugnet.robotics.handyboard
Date: 
Thu, 29 May 1997 06:11:22 GMT
Original-From: 
root <root@snotnoseSPAMLESS.wizard.org>
Viewed: 
1630 times
  
Minor change to Makefile just posted-

Change the '$' signs to '\$$' signs to get around interpretation as shell
variables:

--- begin Makefile ---
#
# Generic Interactive-C *.ICB Assembly Makefile
# Brat Wizard - 06/28/97
#

# General
CAT = /bin/cat

# 68HC11 Assembler
AS11 = as11
ASARGS =
## Use next line instead of prev. to get a listing file
#ASARGS = - L

# Preprocessor
CPP = cpp
CPPARGS = -E -traditional
CPPINC = -I/usr/local/lib/ic
CPPLIB =

# Preprocessor Run 1
CPPOPT1 = -DZERO_PAGE_START=\$$10 -DMAIN_START=\$$8020

# Preprocessor Run 2
CPPOPT2 = -DZERO_PAGE_START=\$$13 -DMAIN_START=\$$872B
#CPPOPT2 = -DZERO_PAGE_START=$10 -DMAIN_START=$8020

#--- You shouldn't have to edit anything below this line. ---

%: %.asm
$(CPP) $(CPPARGS) $(CPPOPT1) $(CPPINC) $(CPPLIB) $@.asm -o $@1.cpp
$(CPP) $(CPPARGS) $(CPPOPT2) $(CPPINC) $(CPPLIB) $@.asm -o $@2.cpp
$(AS11) $@1.cpp $(ASARGS)
$(AS11) $@2.cpp - cre > $@.cre
$(CAT) $@1.s19 $@2.s19 $@.cre > $@.icb
# rm $@1.s19 $@2.s19
rm $@1.s19 $@2.s19 $@.cre



1 Message in This Thread:

Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR