-
Notifications
You must be signed in to change notification settings - Fork 45
Expand file tree
/
Copy pathMakefile.mingw
More file actions
37 lines (30 loc) · 849 Bytes
/
Makefile.mingw
File metadata and controls
37 lines (30 loc) · 849 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
MAKE=make
ISCC = wine ~/.wine/drive_c/Program\ Files\ \(x86\)/Inno\ Setup\ 5/ISCC.exe
all: config.make src/windows
$(MAKE) -C src/zlib all
$(MAKE) -C src all
$(MAKE) -C themes all
src/windows:
tar xzvf windows-sdl2.tar.gz
config.make:
echo "# you can define own flags here" > config.make
clean:
$(RM) -rf bin
$(RM) -rf src/windows
$(MAKE) -C src/sdl-instead clean
docs:
# $(MAKE) pdf -C doc/
# man doc/instead.6 > doc/instead.txt
# $(MAKE) wiki -C doc/
install: all
cp src/sdl-instead.exe bin
cp COPYING bin
$(MAKE) DESTDIR=../bin/ -C themes install
$(MAKE) DESTDIR=../bin/ -C games install
$(MAKE) DESTDIR=../bin/ -C stead install
$(MAKE) DESTDIR=../bin/ -C icon install
$(MAKE) DESTDIR=../bin/ -C lang install
$(MAKE) DESTDIR=../bin/ -C doc install
setup: install docs
cp contrib/setup.iss bin
cd bin; $(ISCC) setup.iss