Merge pull request #2293 from xexyl/ioccc-status

This commit is contained in:
Landon Curt Noll authored and GitHub committed 2024-04-18 11:46:37 -07:00
commit 04d7963c18
2 files changed
-68

No files matched your search

-1
View File
@@ -1 +0,0 @@
ioccc_status
-67
View File
@@ -1,67 +0,0 @@
#!/usr/bin/env make
#
# ioccc_status - quickly update status.json file
#
# Written by Cody Boone Ferguson in 2023
#
# @xexyl
# https://xexyl.net Cody Boone Ferguson
# https://ioccc.xexyl.net
#
# Share and enjoy! :-)
#############
# utilities #
#############
CC= cc
CHMOD= chmod
CP= cp
INSTALL= install
RM= rm
SHELL= bash
#CFLAGS= -O3 -g3 --pedantic -Wall -Werror
CFLAGS= -O3 -g3 --pedantic -Wall
######################
# target information #
######################
DESTDIR= ../../bin
TARGETS= ioccc_status
######################################
# all - default rule - must be first #
######################################
all: ${TARGETS}
@:
ioccc_status: ioccc_status.sh
${RM} -f -v $@
${CP} -f -v $? $@
${CHMOD} +x $@
#################################################
# .PHONY list of rules that do not create files #
#################################################
.PHONY: all configure clean clobber install
###################################
# standard Makefile utility rules #
###################################
configure:
@:
clean:
@:
clobber: clean
rm -f ${TARGETS}
install: all
${INSTALL} -m 0555 ${TARGETS} ${DESTDIR}