0

hi everyone

i have a simple OS which has its own makefile to built its floppy as output and the the picoc (a tiny c compiler) which also has its own Makefile to built its own executable output file.
now i want to move this picoc to my os which means i should move all the files to my os and built the app inside my os files and make the OS and get one output as floppy which has the picoc included . now i have no idea how to merge these two makefiles together ? (im not good at makefiles at all) .

i appreciate any help on how should i merge the makefiles .

2
Contributors
4
Replies
17
Views
2 Years
Discussion Span
Last Post by rproffitt
0

Let me share an old method I used when I needed to run 2 makes. I created a script like this. CD /project1, make, CD /project1, make, then add more commands if there is a need.

0

actually im trying to make the output one file . im not trying to write a bash file . merging the results in one .img file is the goal .

0

Then don't write the bash file yet. Even if it's 2 make files, write down the steps you use to make this one file and share it here so folk can share how they would create a script to automate it.

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.