Created
April 13, 2018 21:41
-
-
Save harveyslash/f487e7fd2808f48a059407ba6c832a8f to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Makefile for CCS Experiment 5 - merge sort | |
# | |
# | |
# Location of the processing programs | |
# | |
RASM = /home/fac/wrc/bin/rasm | |
RLINK = /home/fac/wrc/bin/rlink | |
# | |
# Suffixes to be used or created | |
# | |
.SUFFIXES: .asm .obj .lst .out | |
# | |
# Transformation rule: .asm into .obj | |
# | |
.asm.obj: | |
$(RASM) -l $*.asm > $*.lst | |
# | |
# Transformation rule: .obj into .out | |
# | |
.obj.out: | |
$(RLINK) -m -o $*.out $*.obj > $*.map | |
# | |
# Object files | |
# | |
OBJECTS = colony.obj print.obj propagate.obj # validator.obj # sort.obj | |
# | |
# Main target | |
# | |
colony.out: $(OBJECTS) | |
$(RLINK) -m -o colony.out $(OBJECTS) > colony.map | |
print.out: $(OBJECTS) | |
$(RLINK) -m -o print.out $(OBJECTS) > print.map | |
propagate.out: $(OBJECTS) | |
$(RLINK) -m -o propagate.out $(OBJECTS) > propagate.map | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment