Created
April 10, 2018 16:25
-
-
Save harveyslash/98a94a5112c019311bda765ae0e0ea8f 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 | |
# OBJECTS2 = merge_sort2.obj merge.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 | |
# validator.out: $(OBJECTS) | |
# $(RLINK) -m -o validator.out $(OBJECTS) > validator.map |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment