Changeset 3580


Ignore:
Timestamp:
Dec 1, 2013, 10:50:03 AM (6 years ago)
Author:
cameron
Message:

gcc-re llvm-re opt-re targets

File:
1 edited

Legend:

Unmodified
Added
Removed
  • proto/RE/output/demo1src/Makefile

    r3579 r3580  
    1010
    1111
    12 clang:  $(SRCFILE)
     12clang-re:       $(SRCFILE)
    1313        clang++ $(CFLAGS) -o clang-$(OUTFILE) $(SRCFILE) $(INCLUDES)
    1414
    15 llvm:   $(SRCFILE)
     15opt-re: $(SRCFILE)
    1616        clang++ $(CFLAGS) -emit-llvm -c -o llvm-$(OUTFILE).bc $(SRCFILE) $(INCLUDES)
     17        opt-3.4 llvm-$(OUTFILE).bc -o opt-$(OUTFILE).bc  -std-compile-opts
     18        llc-3.4  -filetype=obj  opt-$(OUTFILE).bc  -o  opt-$(OUTFILE).o
     19        clang++ opt-$(OUTFILE).o -o opt-$(OUTFILE)
    1720
    18 gcc:    $(SRCFILE)
    19         $(CC) -o $(OUTFILE) $(SRCFILE) $(INCLUDES)
     21gcc-re: $(SRCFILE)
     22        $(CC) -o gcc-$(OUTFILE) $(SRCFILE) $(INCLUDES)
    2023
    2124
    2225clean: 
    23         rm -f $(OUTFILE) $(OUTFILE).s $(OUTFILE).o llvm-$(OUTFILE)
     26        rm -f gcc-$(OUTFILE) clang-$(OUTFILE) llvm-$(OUTFILE) llvm-$(OUTFILE).bc llvm-$(OUTFILE)-opt.bc llvm-$(OUTFILE).o
    2427
    2528buffer_profiling_perf: $(SRCFILE)
Note: See TracChangeset for help on using the changeset viewer.