c - Merging two Makefiles to build one output -
i have simple os has own makefile
build floppy
output , picoc
(a tiny c compiler) has own makefile
built own executable output file.
now want move "picoc" os means should move files os , build app inside os files , make
os , 1 output floppy
has picoc
included. have no idea how merge these 2 makefiles together? (i'm not @ make files @ all).
now question is: there anyway can merge these 2 apps merging makefiles?
i've read related topics problem none of them case.
it along lines:
floppy: picoc command make floppy picoc: make -c directory/of/picoc .phony : picoc
this more guidelines full solution, because i'm not sure if understood project structure.
Comments
Post a Comment