www/Makefile

Wed, 01 May 2024 14:38:37 +0200

author
Michiel Broek <mbroek@mbse.eu>
date
Wed, 01 May 2024 14:38:37 +0200
changeset 715
f5d85af156ab
parent 675
825210ba2707
permissions
-rw-r--r--

Added device_present() function to easy update device present from one-wire and simulator devices. When a simulator temperature sensor present is changed, the device table is changed too. Controlling simulator relays is now for each simulator. The simulator runs under the state machine. If something changed in the running simulator, all data is broadcasted over websocket. Completed the web editor.

# Makefile for thermferm
# Copyright (c) 2024 by M. Broek.

include ../Makefile.global

SRC		= $(wildcard *.php)
SUB		= version.php.in images/* css/* jqwidgets/* jqwidgets/styles/* \
		  jqwidgets/styles/images/* jqwidgets/globalization/* js/* \
		  includes/*
OTHER		= Makefile



#############################################################################

.c.o:
		${CC} ${CFLAGS} ${INCLUDES} ${DEFINES} -c $<

all:

clean:
		rm -f version.php

install:

#${INSTALL} -d -g 314 -o 314 ${PREFIX} ${WWWDIR} ${WWWDIR}/css ${WWWDIR}/fpdf \
#			${WWWDIR}/fpdf/font ${WWWDIR}/ispindel \
#			${WWWDIR}/jqwidgets ${WWWDIR}/js ${WWWDIR}/images/ ${WWWDIR}/includes/
#		${INSTALL} -d -g 314 -o 314 -m 0777 ${WWWDIR}/run
#		${INSTALL} -d -g 314 -o 314 ${WWWDIR}/log
#		${INSTALL} -d -g 314 -o 314 ${WWWDIR}/log/brews
#		${INSTALL} -d -g 314 -o 314 ${WWWDIR}/log/fermentation
#		${INSTALL} -d -g 314 -o 314 ${WWWDIR}/log/co2pressure
#		${INSTALL} -d -g 314 -o 314 ${WWWDIR}/log/ispindel
#		${INSTALL} -g 314 -o 314 -m 0644 ${SRC} ${WWWDIR}/
#		${INSTALL} -g 314 -o 314 -m 0644 version.php ${WWWDIR}/
#		${INSTALL} -g 314 -o 314 -m 0644 css/* ${WWWDIR}/css/
#		${INSTALL} -g 314 -o 314 -m 0644 images/* ${WWWDIR}/images/
#		${INSTALL} -g 314 -o 314 -m 0644 includes/* ${WWWDIR}/includes/
#		${INSTALL} -g 314 -o 314 -m 0644 ispindel/* ${WWWDIR}/ispindel/
#		cp -r jqwidgets/* ${WWWDIR}/jqwidgets/
#		chown -R 314:314 ${WWWDIR}/jqwidgets
#		cp -r -p fpdf/* ${WWWDIR}/fpdf/
#		chown -R 314:314 ${WWWDIR}/fpdf
#		${INSTALL} -g 314 -o 314 -m 0644 js/* ${WWWDIR}/js/

filelist:	Makefile
		BASE=`pwd`; \
		BASE=`basename $${BASE}`; \
		(for f in ${SRC} ${SUB} ${OTHER} ;do echo ${PACKAGE}-${VERSION}/$${BASE}/$$f; done) >filelist

depend:

mercurial