-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathFiles.mak
40 lines (28 loc) · 1.05 KB
/
Files.mak
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
##
# OS-independant make file defining the today programs to build
#
# Changes:
# 2018-12-24 JFL Adapted to build for Windows with the MsvcLibX library make system.
# 2019-01-18 JFL Define variable PROGRAMS instead of ALL, now usable both in Windows and Unix.
#
# List of programs to build
PROGRAMS = sunrise sunset today potm localtime
# List of source files for each of the above programs
localtime_SOURCES = localtime.c parsetime.c
potm_SOURCES = potm.c moontx.c parsetime.c
sunrise_SOURCES = sunrise.c moontx.c sun.c parsetime.c
sunset_SOURCES = sunset.c moontx.c sun.c parsetime.c
today_SOURCES = today.c datetx.c moontx.c nbrtxt.c timetx.c sun.c parsetime.c
# How to build the source release
ZIPFILE = $(OD)today.zip
ZIPSOURCES = *.c *.h *Makefile *.mak *.bat *.md include
# Include files dependencies (Microsoft nmake considers the .c touched if a .h is newer)
nbrtxt.c: today.h
datetx.c: today.h
moontx.c: today.h moontx.h
sun.c: today.h params.h
potm.c: today.h moontx.h
sunrise.c: today.h
sunset.c: today.h
timetx.c: today.h params.h
today.c: today.h