-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile.z88dk
32 lines (23 loc) · 1.1 KB
/
Makefile.z88dk
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
# Makefile.z88dk
#
# This file is part of Piskworks game.
# https://github.com/berk76/piskworks
#
# Piskworks 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 3 of the License, or
# (at your option) any later version. <http://www.gnu.org/licenses/>
#
# Written by Jaroslav Beran <jaroslav.beran@gmail.com>, on 24.2.2016
CFLAGS = +zx -c -o $@
CC = zcc
pisk_zx: src/main_con.o src/pisk_lib.o
$(CC) +zx -lndos -preserve -o$@ -create-app src/main_con.o src/pisk_lib.o
pisk_81: src/main_con.o src/pisk_lib.o
$(CC) +zx81 -lndos -preserve -o$@ -create-app src/main_con.o src/pisk_lib.o
pisk_80: src/main_con.o src/pisk_lib.o
$(CC) +zx80 -lndos -preserve -o$@ -create-app src/main_con.o src/pisk_lib.o
src/main_con.o: src/main_con.c src/pisk_lib.h
src/pisk_lib.o: src/pisk_lib.c src/pisk_lib.h
clean:
rm -f src/*.o *.tap zcc_opt.def pisk_zx.reloc pisk_zx pisk_81.reloc pisk_81.P pisk_81 pisk_80.O pisk_80 zcc_proj.lst