diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2009-06-17 20:33:41 -0400 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2009-06-17 20:33:41 -0400 |
commit | d82a1ca4a0a481233414374ba2731a51303ec1b6 (patch) | |
tree | eaf8d46e216d38eb3e8cefb79757dc470b77080c /Makefile | |
parent | 5a1d0fcfdcba55c5eb04c539dd5038059fc3a204 (diff) | |
download | seabios-d82a1ca4a0a481233414374ba2731a51303ec1b6.tar.gz |
Avoid makefile "else ifeq" syntax - old versions don't support it.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -76,7 +76,8 @@ define whole-compile $(Q)printf '$(foreach i,$2,#include "../$i"\n)' > $3.tmp.c $(Q)$(CC) $1 -fwhole-program -DWHOLE_PROGRAM -c $3.tmp.c -o $3 endef -else ifeq "$(COMPSTRAT)" "2" +else +ifeq "$(COMPSTRAT)" "2" # Second menthod - don't use -fwhole-program at all. define whole-compile @echo " Compiling whole program $3" @@ -90,6 +91,7 @@ define whole-compile $(Q)$(CC) $1 -fwhole-program -DWHOLE_PROGRAM -combine -c $2 -o $3 endef endif +endif $(OUT)%.s: %.c |