Improve how to redefine macros in 2004/gavare

Now one can do

    make clobber XX=640 YY=480 AA=3 alt

or whatever, rather than the more awkward setting of CDEFINE.
This commit is contained in:
Cody Boone Ferguson committed 2023-12-07 10:49:18 -08:00
1 parent b8473b5b6a
commit c3fdf7c917
2 files changed
+9 -5

No files matched your search

+5 -1
View File
@@ -56,9 +56,13 @@ CSTD= -std=gnu99
#
ARCH=
# variables for the macros for easier redefining
XX= 1024
YY= 768
AA= 3
# Defines that are needed to compile
#
CDEFINE= -DXX=1024 -DYY=768 -DAA=3
CDEFINE= -DXX=${XX} -DYY=${YY} -DAA=${AA}
# Include files that are needed to compile
#