-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmake.win
More file actions
37 lines (29 loc) · 750 Bytes
/
make.win
File metadata and controls
37 lines (29 loc) · 750 Bytes
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
VERSION = 0.1w
#
# YOU DONT NEED TO TOUCH ANYTHING BELO
#
CALLMAKE= gmake -f make.win
CALLDEL = rm
TARGET = go2pov
TARGETF = $(TARGET).exe
DATE = `date +%Y%m%d_%H%M`
WINARCHIVE = make.win docs/*.* samples/*.pov samples/*.inc
WINSRCARCHIVE = $(WINARCHIVE) src/*.cpp src/*.h
export VERSION
all: $(TARGETF)
$(TARGETF):
@cd src && $(CALLMAKE)
cp src/$(TARGETF) .
strip $(TARGETF)
clean:
@cd src && $(CALLMAKE) clean
$(CALLDEL) $(TARGETF)
tidy:
@cd src && $(CALLMAKE) tidy
$(CALLDEL) -f $(TARGETF) docs/*~
$(CALLDEL) -r docs/autodoc.html
winarchive:
$(CALLMAKE) tidy
zip -9 -r $(TARGET)_$(VERSION).zip $(WINARCHIVE)
winsrcarchive:
zip -9 -r $(TARGET)_src_$(VERSION).zip $(WINSRCARCHIVE)