forked from k5mwe/DtCyber
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Makefile.linux32
92 lines (83 loc) · 3.04 KB
/
Makefile.linux32
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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
#--------------------------------------------------------------------------
#
# Copyright (c) 2003-2011, Tom Hunter
#
# Name: Makefile
#
# Description:
# Build 32-bit Linux version of Desktop Cyber emulation.
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License version 3 as
# published by the Free Software Foundation.
#
# 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 version 3 for more details.
#
# You should have received a copy of the GNU General Public License
# version 3 along with this program in file "license-gpl-3.0.txt".
# If not, see <http://www.gnu.org/licenses/gpl-3.0.txt>.
#
#--------------------------------------------------------------------------
LIBS = -lm -lX11 -lpthread
LDFLAGS = -s -L/usr/X11R6/lib
INCL = -I/usr/X11R6/include
CFLAGS = -O2 -I. $(INCL) -std=gnu99
HDRS = const.h \
cyber_channel_linux.h \
npu.h \
proto.h \
types.h
OBJS = channel.o \
charset.o \
console.o \
cp3446.o \
cpu.o \
cr3447.o \
cr405.o \
dcc6681.o \
dd6603.o \
dd8xx.o \
ddp.o \
deadstart.o \
device.o \
dump.o \
float.o \
init.o \
interlock_channel.o \
log.o \
lp1612.o \
lp3000.o \
main.o \
maintenance_channel.o \
mt362x.o \
mt607.o \
mt669.o \
mt679.o \
mux6676.o \
npu_async.o \
npu_bip.o \
npu_hip.o \
npu_net.o \
npu_svm.o \
npu_tip.o \
operator.o \
pci_channel_linux.o \
pci_console_linux.o \
pp.o \
rtc.o \
scr_channel.o \
shift.o \
tpmux.o \
trace.o \
window_x11.o
dtcyber: $(OBJS)
$(CC) $(LDFLAGS) -o $@ $(OBJS) $(LIBS)
all: clean dtcyber
clean:
rm -f *.o
%.o : %.c $(HDRS)
$(CC) $(CFLAGS) -c $<
#--------------------------- End Of File --------------------------------