-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathmakefile
More file actions
64 lines (45 loc) · 1.02 KB
/
Copy pathmakefile
File metadata and controls
64 lines (45 loc) · 1.02 KB
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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
-include config.mak
srcdir ?= $(CURDIR)
RELVER = alpha3
PKG = comcom64-0.1$(RELVER)
TGZ = $(PKG).tar.gz
all: 64 32
both: static 32
install_64:
$(MAKE) -C src install
install_32:
$(MAKE) -C src/32 install
install: install_64 install_32
uninstall_64:
$(MAKE) -C src uninstall
uninstall_32:
$(MAKE) -C src/32 uninstall
uninstall: uninstall_64 uninstall_32
clean:
$(MAKE) -C src clean
$(MAKE) -C src/32 clean
$(RM) -f $(TGZ) *.zip
distclean:
git clean -fd || $(MAKE) clean
$(TGZ):
git archive -o $(CURDIR)/$(TGZ) --prefix=$(PKG)/ HEAD
.PHONY: $(TGZ) 64 32 both djgpp install install_32 install_both uninstall_both uninstall uninstall_32
tar: $(TGZ)
rpm: comcom64.spec.rpkg
git clean -fd
rpkg local
deb:
debuild -i -us -uc -b
64:
$(MAKE) -C src
32:
$(MAKE) -C src/32
djgpp:
$(MAKE) -C djgpp
static:
$(MAKE) -C src static
fetch:
curl -O https://dosemu2.github.io/comcom64/files/comcom64.zip
unzip -o comcom64.zip -d src
curl -O https://dosemu2.github.io/comcom64/files/comcom32.zip
unzip -o comcom32.zip -d src/32