https://github.com/epiqc/ScaffCC
Revision 9d2cca71cf54ddfebda26e247d82ae7b71d9e03c authored by Pranav Gokhale on 30 June 2018, 18:56:21 UTC, committed by Pranav Gokhale on 30 June 2018, 18:56:21 UTC
1 parent 720b0db
Raw File
Tip revision: 9d2cca71cf54ddfebda26e247d82ae7b71d9e03c authored by Pranav Gokhale on 30 June 2018, 18:56:21 UTC
Fix OpenQASM output formatting of Rx and Ry
Tip revision: 9d2cca7
Makefile
CC=g++ -g -std=c++0x
OPTS=-O1
INC=-I./include

default: example

example: src/example.o src/charbits.o src/RotLib.o
	$(CC) $(OPTS) src/example.o src/charbits.o src/RotLib.o -o example

src/example.o: src/example.cpp include/RotLib.h
	echo $(INC)
	$(CC) $(OPTS) $(INC) -c src/example.cpp -o src/example.o

src/RotLib.o: src/RotLib.cpp
	$(CC) $(OPTS) $(INC) -c src/RotLib.cpp -o src/RotLib.o
	
src/charbits.o: src/charbits.cpp
	$(CC) $(OPTS) $(INC) -c src/charbits.cpp -o src/charbits.o


clean: 
	rm -f src/*.o example
back to top