ref: cf3bfb1372af94f1b925e52fe60870fc6317a01e
parent: f821a1e0a185c78ee006545710811b2a6f9f451a
author: Anthony J. Bentley <[email protected]>
date: Thu Oct 18 16:25:33 EDT 2012
Use curly braces consistently in Makefile.
--- a/Makefile
+++ b/Makefile
@@ -45,10 +45,10 @@
all: rgbasm rgblib rgblink rgbfix
clean:
- ${Q}rm -rf rgbasm $(rgbasm_obj)
- ${Q}rm -rf rgblib $(rgblib_obj)
- ${Q}rm -rf rgblink $(rgblink_obj)
- ${Q}rm -rf rgbfix $(rgbfix_obj)
+ ${Q}rm -rf rgbasm ${rgbasm_obj}
+ ${Q}rm -rf rgblib ${rgblib_obj}
+ ${Q}rm -rf rgblink ${rgblink_obj}
+ ${Q}rm -rf rgbfix ${rgbfix_obj}
${Q}rm -rf src/asm/asmy.c
install: all
@@ -66,23 +66,23 @@
${Q}install -m 444 src/lib/rgblib.1 \
${MANPREFIX}/man1/rgblib.1
-rgbasm: $(rgbasm_obj)
- ${Q}${CC} $(CFLAGS) -o $@ $(rgbasm_obj) -lm
+rgbasm: ${rgbasm_obj}
+ ${Q}${CC} ${CFLAGS} -o $@ ${rgbasm_obj} -lm
-rgblib: $(rgblib_obj)
- ${Q}${CC} $(CFLAGS) -o $@ $(rgblib_obj)
+rgblib: ${rgblib_obj}
+ ${Q}${CC} ${CFLAGS} -o $@ ${rgblib_obj}
-rgblink: $(rgblink_obj)
- ${Q}${CC} $(CFLAGS) -o $@ $(rgblink_obj)
+rgblink: ${rgblink_obj}
+ ${Q}${CC} ${CFLAGS} -o $@ ${rgblink_obj}
-rgbfix: $(rgbfix_obj)
- ${Q}${CC} $(CFLAGS) -o $@ $(rgbfix_obj)
+rgbfix: ${rgbfix_obj}
+ ${Q}${CC} ${CFLAGS} -o $@ ${rgbfix_obj}
.c.o:
- ${Q}${CC} $(CFLAGS) -c -o $@ $<
+ ${Q}${CC} ${CFLAGS} -c -o $@ $<
src/asm/asmy.c: src/asm/asmy.y
${Q}${YACC} -d -o $@ $<
-src/asm/asmy.y: $(yacc_pre)
- ${Q}cat $(yacc_pre) > $@
+src/asm/asmy.y: ${yacc_pre}
+ ${Q}cat ${yacc_pre} > $@