Comments (3)
I've been digging around this a little bit so far, and this is a simple enough project that I think simple Makefiles are the way to go - were it not for the _68000.c files. this could be built with yacc macross_6502.y && gcc -m32 -o macross *.c
, and then slinky with cp y.tab.h slinky && cd slinky && gcc -o slinky *.c
.
The dependency of both products on the same y.tab.h is the only sticking point, really, which makes me think it could be well handled with a single simple Makefile, perhaps with a pre-run makedepend.
Be aware that I've made pretty heavy changes to the makefile and the system requirements on my fork at present; modern gcc seems to really dislike pre-ANSI C, and my fork compiles with gcc -m32 -ansi, at least.
from macross.
Er, to clarify the earlier stuff - there already are two Makefiles in the system, but they're a bit old and dodgy. The michaelcmartin:ansi-c branch only made minor tweaks to the core logic in it and gcc or clang + yacc or bison is all you need for it to build and go. There's a couple of obvious simplifications I'd like to make to them (exploiting patternmatching in Makefiles, basically) and after that it's probably clearer whether that's all that's necessary or if there are further improvements to make.
from macross.
Thanks for the prompt reply. Good point---autotools are often overkill.
Incidentally, after glancing at the Makefile
on master
, it looks like both POSIX and GNU make are supported.
from macross.
Related Issues (5)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from macross.