forked from lgblgblgb/xemu
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
56 lines (42 loc) · 1.75 KB
/
Makefile
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
## Collection of *simple* emulators of some 8 bits machines using SDL2 library,
## including the Commodore LCD and Commodore 65 too.
##
## Copyright (C)2016 LGB (Gábor Lénárt) <[email protected]>
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
TARGETS = c65 cvic20 clcd cgeos ep128 mega65 primo tvc
ARCHS = native win32 win64 osx
all:
for t in $(TARGETS) ; do $(MAKE) -C targets/$$t || exit 1 ; done
all-arch:
for t in $(TARGETS) ; do for a in $(ARCHS) ; do $(MAKE) -C targets/$$t ARCH=$$a || exit 1 ; done ; done
clean:
for t in $(TARGETS) ; do $(MAKE) -C targets/$$t clean || exit 1 ; done
all-clean:
for t in $(TARGETS) ; do for a in $(ARCHS) ; do $(MAKE) -C targets/$$t ARCH=$$a clean || exit 1 ; done ; done
$(MAKE) -C rom clean
distclean:
$(MAKE) all-clean
$(MAKE) -C rom distclean
dep:
for t in $(TARGETS) ; do $(MAKE) -C targets/$$t dep || exit 1 ; done
all-dep:
for t in $(TARGETS) ; do for a in $(ARCHS) ; do $(MAKE) -C targets/$$t ARCH=$$a dep || exit 1 ; done ; done
roms:
$(MAKE) -C rom
deb:
$(MAKE) all
build/deb-build-simple
.PHONY: all all-arch clean all-clean roms distclean dep all-dep deb