-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathmakefile
More file actions
48 lines (35 loc) · 733 Bytes
/
makefile
File metadata and controls
48 lines (35 loc) · 733 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
38
39
40
41
42
43
44
45
46
47
48
-include config.mak
srcdir ?= $(CURDIR)
RELVER = alpha3
PKG = comcom64-0.1$(RELVER)
TGZ = $(PKG).tar.gz
all: 64
both: 64 32
install uninstall:
$(MAKE) -C src $@
clean:
$(MAKE) -C src clean
$(MAKE) -C 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
tar: $(TGZ)
rpm: comcom64.spec.rpkg
git clean -fd
rpkg local
deb:
debuild -i -us -uc -b
64:
$(MAKE) -C src
32:
$(MAKE) -C 32
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 32