Remove duplicate rules in 2004/vik2/Makefile
This commit is contained in:
1 parent
c8c1dd403d
commit
601596d1be
2 files changed
+6
-13
No files matched your search
+5
-12
@@ -1,15 +1,3 @@
|
|||||||
vik2: vik2.c
|
|
||||||
@${RM} -f vik2_1.c
|
|
||||||
${CC} -E '-DSTOP=_5' '-DFNAME="vik2_1.c"' vik2.c > vik2_1.c
|
|
||||||
@${RM} -f vik2_2.c
|
|
||||||
${CC} -E vik2_1.c > vik2_2.c
|
|
||||||
${CC} -O vik2_2.c -o vik2
|
|
||||||
|
|
||||||
vik2_clean:
|
|
||||||
${RM} -f vik2_1.c vik2_2.c vik2.o
|
|
||||||
|
|
||||||
vik2_clobber: vik2_clean
|
|
||||||
${RM} -f vik2
|
|
||||||
#!/usr/bin/env make
|
#!/usr/bin/env make
|
||||||
#
|
#
|
||||||
# IOCCC 2004 winning entry - vik2
|
# IOCCC 2004 winning entry - vik2
|
||||||
@@ -225,6 +213,11 @@ clean:
|
|||||||
echo ${RM} -f indent.c; \
|
echo ${RM} -f indent.c; \
|
||||||
${RM} -f indent.c; \
|
${RM} -f indent.c; \
|
||||||
fi
|
fi
|
||||||
|
vik2_clean:
|
||||||
|
${RM} -f vik2_1.c vik2_2.c vik2.o
|
||||||
|
|
||||||
|
vik2_clobber: vik2_clean
|
||||||
|
${RM} -f vik2
|
||||||
|
|
||||||
clobber: clean
|
clobber: clean
|
||||||
${RM} -f ${TARGET} ${ALT_TARGET}
|
${RM} -f ${TARGET} ${ALT_TARGET}
|
||||||
|
|||||||
+1
-1
@@ -196,7 +196,7 @@ the program were measured using gnu cpp on my 2.0MHz P4 with 512Mb ram
|
|||||||
and a lot of disk.
|
and a lot of disk.
|
||||||
|
|
||||||
Generated Recursive Max nest Intermediate
|
Generated Recursive Max nest Intermediate
|
||||||
Level prime nrs includes count file size Time
|
Level prime nrs includes count file size Time
|
||||||
|
|
||||||
_3 < 8 2 322 9 74 748 4"
|
_3 < 8 2 322 9 74 748 4"
|
||||||
_4 < 16 4 672 9 182 652 9"
|
_4 < 16 4 672 9 182 652 9"
|
||||||
|
|||||||
Reference in new issue
Block a user