Add cleaer screen, timezone, and some other additions
This commit is contained in:
		
							
								
								
									
										8
									
								
								Makefile
									
									
									
									
									
								
							
							
						
						
									
										8
									
								
								Makefile
									
									
									
									
									
								
							| @ -9,7 +9,7 @@ SRCS=src/main.c src/util.c src/lcd.c src/ths.c src/button.c src/ui/screen.c\ | ||||
|      src/ui/datesel.c src/ui/statsby.c src/ui/datapoints.c src/ui/timesel.c\ | ||||
|      src/ui/statrange.c src/config.c src/ui/blankscreen.c src/drive.c\ | ||||
|      src/ui/exportscreen.c src/ui/setdatescreen.c src/ui/viewdatescreen.c\ | ||||
| 	 src/ui/powerscreen.c | ||||
| 	 src/ui/powerscreen.c src/ui/settzscreen.c src/ui/cleardatascreen.c | ||||
| PROG=rpi4b-temp-humidity | ||||
|  | ||||
| all: config.conf bin/${PROG} | ||||
| @ -24,16 +24,19 @@ bin/main.o bin/util.o bin/lcd.o bin/ths.o bin/button.o: src/util.h | ||||
| bin/ui/screen.o bin/ui/statsby.o bin/ui/datesel.o: src/util.h | ||||
| bin/ui/datapoints.o bin/ui/timesel.o bin/ui/statrange.o: src/util.h | ||||
| bin/ui/viewdatescreen.o bin/ui/setdatescreen.o bin/ui/powerscreen.o: src/util.h | ||||
| bin/ui/settzscreen.o bin/ui/cleardatascreen.o: src/util.h | ||||
|  | ||||
| bin/main.o bin/lcd.o bin/screen.o bin/ui/datesel.o: src/lcd.h | ||||
| bin/ui/statsby.o bin/ui/timesel.o bin/ui/statrange.o: src/lcd.h | ||||
| bin/ui/datapoints.o bin/ui/viewdatescreen.o: src/lcd.h | ||||
| bin/ui/setdatescreen.o bin/ui/powerscreen.o: src/lcd.h | ||||
| bin/ui/settzscreen.o bin/ui/cleardatascreen.o: src/lcd.h | ||||
|  | ||||
| bin/main.o bin/ui/screen.o bin/ui/statsby.o: src/ui/screen.h | ||||
| bin/ui/datesel.o bin/ui/datapoints.o bin/ui/timesel.o: src/ui/screen.h | ||||
| bin/ui/statrange.o bin/ui/setdatescreen.o: src/ui/screen.h | ||||
| bin/ui/viewdatescreen.o bin/ui/powerscreen.o: src/ui/screen.h | ||||
| bin/ui/settzscreen.o bin/ui/cleardatascreen.o: src/ui/screen.h | ||||
|  | ||||
| bin/main.o bin/ui/datesel.o bin/ui/statsby.o: src/ui/datesel.h | ||||
| bin/ui/datapoints.o bin/ui/timesel.o bin/ui/statrange.o: src/ui/datesel.h | ||||
| @ -53,6 +56,8 @@ bin/main.o bin/ui/exportscreen.o: src/ui/exportscreen.h | ||||
| bin/main.o bin/ui/setdatescreen.o: src/ui/setdatescreen.h | ||||
| bin/main.o bin/ui/viewdatescreen.o: src/ui/viewdatescreen.h | ||||
| bin/main.o bin/ui/powerscreen.o: src/ui/powerscreen.h | ||||
| bin/main.o bin/ui/settzscreen.o: src/ui/settzscreen.h | ||||
| bin/main.o bin/ui/cleardatascreen.o: src/ui/cleardatascreen.h | ||||
| bin/main.o bin/drive.o bin/ui/exportscreen.o: src/drive.h | ||||
|  | ||||
| .if "${DEFAULT_TEMP_UNIT}" != "F" && "${DEFAULT_TEMP_UNIT}" != "C" &&\ | ||||
| @ -71,6 +76,7 @@ DEFINES:=\ | ||||
| -DDEFAULT_REFRESH_TIME="${DEFAULT_REFRESH_TIME}"\ | ||||
| -DDEFAULT_TEMP_UNIT="${DEFAULT_TEMP_UNIT}"\ | ||||
| -DDEFAULT_EXPORT_FILE_NAME="${DEFAULT_EXPORT_FILE_NAME}"\ | ||||
| -DDEFAULT_TIMEZONE="${DEFAULT_TIMEZONE}"\ | ||||
|  | ||||
| ${OBJS}: ${.TARGET:C/^bin/src/:C/.o$/.c/} | ||||
| 	@mkdir -p ${.TARGET:H} | ||||
|  | ||||
		Reference in New Issue
	
	Block a user