-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathMakefile.win
48 lines (31 loc) · 1.06 KB
/
Makefile.win
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
41
42
43
44
45
46
47
48
# Makefile for Windows
#F2C = \f2c-new\f2c
#LIB = \f2c-new\vcf2c.lib
#INCDIR = \f2c-new
LAST_UPDATE_YEAR = 2021
LAST_UPDATE_MONTH = 1
LAST_UPDATE_DAY = 1
# Set defaults
PARMS = -DCELLS=100000 -DATOMS=3000 -DSTACK=1500 -DARRAY=5000
#CFLAGS = -nologo -Zi -Od $(PARMS) -DYEAR=$(LAST_UPDATE_YEAR) -DMONTH=$(LAST_UPDATE_MONTH) -DDAY=$(LAST_UPDATE_DAY)
CFLAGS = -nologo -O2 $(PARMS) -DYEAR=$(LAST_UPDATE_YEAR) -DMONTH=$(LAST_UPDATE_MONTH) -DDAY=$(LAST_UPDATE_DAY)
FFLAGS = -onetrip -A -h
.f.c .PRECIOUS:
$(F2C) -onetrip -A -h -E $<
basic.img : bare.img script.2
lispf4 bare.img <script.2
bare.img : lispf4.exe SYSATOMS script.1
lispf4 -x <script.1
lispf4.exe : lispf41.obj lispf42.obj auxillary.obj
cl $(CFLAGS) -Felispf4.exe lispf41.obj lispf42.obj auxillary.obj
#lispf41.c : lispf41.f
# $(F2C) $(FFLAGS) $<
#lispf42.c : lispf42.f
# $(F2C) $(FFLAGS) -E $<
#lispf41.obj : lispf41.c
#lispf41.obj : lispf41.c
clean:
rm -zfq *~ *.o core *.obj *.bak
rm -zfq *.pdb *.ilk *.opt
realclean: clean
rm -zfq lispf4.exe *.img