PiegOS/kernel/Helpers/Makefile

31 lines
397 B
Makefile
Raw Normal View History

2015-07-20 20:06:20 +04:00
EXEC=helpers.o
all:$(EXEC)
#----- Helpers -----
2015-07-22 13:22:53 +04:00
$(EXEC): memory.o memPrint.o
ld -m elf_i386 -r -o $(EXEC) $^
2015-07-20 20:06:20 +04:00
#---------------
2015-07-22 13:22:53 +04:00
#----- Memory -----
memory.o: memory.cpp memory.hpp
$(CXX) -c -o $@ $<
#------------------
#----- memPrint -----
memPrint.o: memPrint.cpp memPrint.hpp
$(CXX) -c -o $@ $<
#-------------------
2015-07-20 20:06:20 +04:00
#----- Other -----
.PHONY:clean
clean:
2015-07-21 16:53:10 +04:00
-rm *.o
2015-07-20 20:06:20 +04:00
#----------------