My favorites | Sign in
Project Home Downloads Wiki Issues Source
Checkout   Browse   Changes    
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# Copyright: Public domain.
# Filename: Makefile
# Purpose: Makefile for Luminary 1A (build 099).
# (The source code for the Lunar Module's (LM)
# Apollo Guidance Computer (AGC), Apollo 11.)
# Contact: Ron Burkey <info@sandroid.org>.
# Website: http://www.ibiblio.org/apollo
# Mod history: 2009-06-05 RSB Adapted from similar Comanche 055
# Makefile.
# 2009-07-04 RSB Added --html switch.
# 2011-05-03 JL Fixed so that errors will cause rebuild next
# time make is run. Point to moved Oct2Bin.

BASENAME=Luminary099

.PHONY: ${BASENAME}.lst

SOURCE:=$(wildcard *.agc)
TARGETS=${BASENAME}.bin ${BASENAME}.lst ${BASENAME}.symtab

default: $(TARGETS)

${BASENAME}.bin: ${BASENAME}.binsource
../Tools/Oct2Bin <${BASENAME}.binsource
mv Oct2Bin.bin $@

${BASENAME}.lst ${BASENAME}.symtab: ${SOURCE} ${BASENAME}.bin
../yaYUL/yaYUL --html MAIN.agc >MAIN.agc.lst
diff -s MAIN.agc.bin ${BASENAME}.bin
mv MAIN.agc.lst ${BASENAME}.lst
mv MAIN.agc.symtab ${BASENAME}.symtab

corediff.txt: ${BASENAME}.bin MAIN.agc.bin
python ../Tools/ropediff.py -c -a -o $@ ${BASENAME}.bin MAIN.agc.bin

clean:
rm -f *.lst *~ MAIN.agc.bin ${BASENAME}.bin *.symtab Oct2Bin.bin* *.html

Change log

r853 by jim.lawton on May 27, 2011   Diff
Add target to generate core diffs.
Go to: 
Project members, sign in to write a code review

Older revisions

r801 by jim.lawton on May 7, 2011   Diff
Was a bit too eager with the.PHONY,
caused each flight to be built twice
always.
r792 by jim.lawton on May 5, 2011   Diff
Always rebuild flight software.
r782 by jim.lawton on May 3, 2011   Diff
Moved Oct2Bin and friends to Tools
dir. Updated all flight software
builds to use newer style Makefile
from Artemis072. Changed builds to
cause rebuild of .bin on the next run
...
All revisions of this file

File info

Size: 1174 bytes, 38 lines
Powered by Google Project Hosting