forked from mbcrawfo/GenericMakefile
-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
Right now, it assumes that it's building a 32-bit and 64-bit build, presumably on x86
It would be nice if build architecture were abstracted away, such that it could build any architecture
From Josh:
There seems to be a lot of copy pasta just for the two architectures supported in the makefile. It feels like there is or should be a way to easily abstract out 32 and 64 bit definitions and support all gcc architectures in case you hypothetically wish to target something other than x86. It would be easier to do so with arguments passed in from commandline (make ARCH=mips32), but that seems to be avoided. Now I am nerd-sniped if there is a clever way to do it perhaps with pattern rules
Metadata
Metadata
Assignees
Labels
No labels