Code wash !

This commit is contained in:
manzerbredes 2015-07-22 13:22:53 +04:00
parent 8f248101c0
commit c10137539f
9 changed files with 45 additions and 8 deletions

View file

@ -4,11 +4,24 @@ EXEC=helpers.o
all:$(EXEC)
#----- Helpers -----
$(EXEC): memory.cpp
$(CXX) -c -o $(EXEC) memory.cpp
$(EXEC): memory.o memPrint.o
ld -m elf_i386 -r -o $(EXEC) $^
#---------------
#----- Memory -----
memory.o: memory.cpp memory.hpp
$(CXX) -c -o $@ $<
#------------------
#----- memPrint -----
memPrint.o: memPrint.cpp memPrint.hpp
$(CXX) -c -o $@ $<
#-------------------
#----- Other -----
.PHONY:clean