-
Notifications
You must be signed in to change notification settings - Fork 67
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Replace build script with Makefile #52
Comments
Do you want a huge monolithic Makefile to rule them all or a master Makefile which recursively calls another languages Makefile? If the latter you should probably define a list of targets that are used as API. |
I'm leaning towards one monolithic Makefile (it wouldn't be that long, less than half of the solutions need compiling), but I'm open to suggestions. |
I'm not only concerned about compiling, but also running and cleaning. A monolithic file which holds everything would grow into an unmaintainable state as the count of implementing languages grow. A recursive Makefile, which does simply run some predefined targets on every Makefile in every folder except for As a quickshot I'd go for a language-Makefile with the following targets:
Looking at those, you can also provide some small # For scripted languages it might be unnecessary to change anything except the line below `run:`
# Please keep in mind, that whatever you do, <TAB> characters need to stay intact!
build:
true # commands to create your binary/executable
clean:
true # commands to clean buildartifacts
rebuild: clean build
run:
./wordcount # command to start your version |
If you don't mind, I'd like to give it a shot during the next couple of days along with another idea I have regarding contributors. |
Not at all. Go ahead please, it would help a lot. |
This would be a very nice addition.
The text was updated successfully, but these errors were encountered: