mirror of
https://github.com/logicog/RTLPlayground.git
synced 2026-10-29 17:54:14 +08:00
makefile: Make CC and ASM overridable via command line
This makes it easier to run make without docker within distros without editing Makefile. For example Fedora: `ASM=sdcc-sdas8051 CC=sdcc-sdcc make`
This commit is contained in:
1 parent
35941dd19f
commit
b99436543a
1 file changed
+2
-2
@@ -4,9 +4,9 @@ DEFAULT_CONFIG_LOCATION = 454656
|
|||||||
CONFIG_LOCATION = 458752
|
CONFIG_LOCATION = 458752
|
||||||
HTML_LOCATION = 262144
|
HTML_LOCATION = 262144
|
||||||
|
|
||||||
CC = sdcc
|
CC ?= sdcc
|
||||||
CC_FLAGS = -mmcs51 -I. -Ihttpd -Iuip
|
CC_FLAGS = -mmcs51 -I. -Ihttpd -Iuip
|
||||||
ASM = sdas8051
|
ASM ?= sdas8051
|
||||||
AFLAGS= -plosgff
|
AFLAGS= -plosgff
|
||||||
|
|
||||||
SUBDIRS := tools
|
SUBDIRS := tools
|
||||||
|
|||||||
Reference in new issue
Block a user