diff --git a/Makefile b/Makefile index a6a2bf5..51a0b29 100644 --- a/Makefile +++ b/Makefile @@ -16,6 +16,11 @@ SUBDIRSCLEAN=$(addsuffix clean,$(SUBDIRS)) BUILDDIR = output/ VERSION_HEADER := version.h +ifeq ($(MACHINE),) +else + CC_FLAGS += -DMACHINE_$(MACHINE) +endif + all: create_build_dir $(VERSION_HEADER) $(SUBDIRS) $(BUILDDIR)rtlplayground.bin create_build_dir: