fix alt rules in Makefiles
For Makefiles that have alt related rules, moved the related rules under the alt rule section. In some cases where there is no alt code, removed alt rules and/or targets.
This commit is contained in:
1 parent
91fa6e994f
commit
1ce40b273d
28 files changed
+102
-79
No files matched your search
+8
-3
@@ -133,15 +133,20 @@ ALT_TARGET=
|
||||
all: data ${TARGET}
|
||||
@${TRUE}
|
||||
|
||||
.PHONY: data everything clean clobber nuke dist_clean \
|
||||
install build love haste waste make easter_egg \
|
||||
.PHONY: all alt data everything clean clobber install \
|
||||
love haste waste maker easter_egg sandwich \
|
||||
supernova deep_magic magic charon pluto
|
||||
|
||||
${PROG}: ${PROG}.c
|
||||
-${RM} -f a.out
|
||||
${CC} ${CFLAGS} $< -o $@ ${LIBS}
|
||||
-${RM} -f a.out
|
||||
-${LN} $@ a.out
|
||||
|
||||
# alternative executable
|
||||
#
|
||||
alt: data ${ALT_TARGET}
|
||||
@${TRUE}
|
||||
|
||||
# data files
|
||||
#
|
||||
data: ${DATA}
|
||||
|
||||
Reference in new issue
Block a user