Makefile.linux64 1.54 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22

all: copy_graph_to_string.o copy_graph_to_string_interface.o copy_string_to_graph.o copy_string_to_graph_interface.o

copy_graph_to_string.o: copy_graph_to_string.c
	gcc -S -O -DLINUX64 copy_graph_to_string.c -o copy_graph_to_string.a
	sed -f s2.sed copy_graph_to_string.a > copy_graph_to_string.s
	as copy_graph_to_string.s -o copy_graph_to_string.o
	cp copy_graph_to_string.o "Clean System Files"/copy_graph_to_string.o

copy_graph_to_string_interface.o: copy_graph_to_string_interface_linux64.s
	as copy_graph_to_string_interface_linux64.s -o copy_graph_to_string_interface.o
	cp copy_graph_to_string_interface.o "Clean System Files"/copy_graph_to_string_interface.o

copy_string_to_graph.o: copy_string_to_graph.c
	gcc -S -O -DLINUX64 copy_string_to_graph.c -o copy_string_to_graph.a
	sed -f s2.sed copy_string_to_graph.a > copy_string_to_graph.s
	as copy_string_to_graph.s -o copy_string_to_graph.o
	cp copy_string_to_graph.o "Clean System Files"/copy_string_to_graph.o

copy_string_to_graph_interface.o: copy_string_to_graph_interface_linux64.s
	as copy_string_to_graph_interface_linux64.s -o copy_string_to_graph_interface.o
	cp copy_string_to_graph_interface.o "Clean System Files"/copy_string_to_graph_interface.o
John van Groningen's avatar
John van Groningen committed
23 24 25 26 27 28 29 30 31 32 33

cleanup:
	rm copy_graph_to_string.o
	rm copy_graph_to_string_interface.o
	rm copy_string_to_graph.o
	rm copy_string_to_graph_interface.o
	rm "Clean System Files"/copy_graph_to_string.o
	rm "Clean System Files"/copy_graph_to_string_interface.o
	rm "Clean System Files"/copy_string_to_graph.o
	rm "Clean System Files"/copy_string_to_graph_interface.o