summaryrefslogtreecommitdiff
path: root/src/Makefile
blob: 639860c2e6a891fce886f6a6b1afdd78c103db1d (plain)
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
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
# atarisio - A UNIX back end for an Atari SIO2PC lead.
# 
# Copyright (C) 2004  Ian Cowburn (ianc@noddybox.demon.co.uk)
# 
# 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
# 
# -------------------------------------------------------------------------
# 
# $Id: Makefile,v 1.1.1.1 2007-05-07 02:05:54 ianc Exp $
# 


# This CFLAGS assumes that gcc is being used.
# Simply comment out if not, and replace as needed.
#
# Note that the -pthread is *IMPORTANT* - this is a FreeBSD extension
# that links with the appropriate libc for pthreads.  Consult your OS
# documentation on what to do on other systems.
#
#
CFLAGS	=	-g -Wall -Werror -pthread

TARGET	=	atarisio

SOURCE	=	main.c		\
		token.c		\
		config.c	\
		serial.c	\
		disk.c		\
		diskimg.c	\
		util.c

OBJECTS	=	main.o		\
		token.o		\
		serial.o	\
		config.o	\
		disk.o		\
		diskimg.o	\
		util.o

all: $(TARGET)

$(TARGET): $(OBJECTS)
	$(CC) $(CFLAGS) -o $(TARGET) $(OBJECTS) $(LIBS)

clean:
	rm -f $(TARGET) $(OBJECTS) core

depend:
	makedepend  -- $(CFLAGS) -- $(SOURCE)
	if test -e Makefile ; then rm -f Makefile.bak ; fi

# DO NOT DELETE THIS LINE -- make depend depends on it

main.o: /usr/include/stdlib.h /usr/include/sys/cdefs.h
main.o: /usr/include/sys/_types.h /usr/include/machine/_types.h
main.o: /usr/include/limits.h /usr/include/sys/limits.h
main.o: /usr/include/machine/_limits.h /usr/include/sys/syslimits.h
main.o: /usr/include/stdio.h /usr/include/string.h /usr/include/strings.h
main.o: /usr/include/errno.h /usr/include/unistd.h /usr/include/sys/types.h
main.o: /usr/include/machine/endian.h /usr/include/sys/select.h
main.o: /usr/include/sys/_sigset.h /usr/include/sys/_timeval.h
main.o: /usr/include/sys/timespec.h /usr/include/sys/unistd.h
main.o: /usr/include/fcntl.h serial.h util.h disk.h config.h token.h
token.o: /usr/include/stdlib.h /usr/include/sys/cdefs.h
token.o: /usr/include/sys/_types.h /usr/include/machine/_types.h
token.o: /usr/include/stdio.h /usr/include/string.h /usr/include/strings.h
token.o: /usr/include/ctype.h /usr/include/runetype.h token.h util.h
config.o: /usr/include/stdlib.h /usr/include/sys/cdefs.h
config.o: /usr/include/sys/_types.h /usr/include/machine/_types.h
config.o: /usr/include/stdio.h /usr/include/string.h /usr/include/strings.h
config.o: config.h util.h token.h
serial.o: /usr/include/pthread.h /usr/include/sys/cdefs.h
serial.o: /usr/include/sys/types.h /usr/include/machine/endian.h
serial.o: /usr/include/sys/_types.h /usr/include/machine/_types.h
serial.o: /usr/include/sys/select.h /usr/include/sys/_sigset.h
serial.o: /usr/include/sys/_timeval.h /usr/include/sys/timespec.h
serial.o: /usr/include/sys/time.h /usr/include/time.h
serial.o: /usr/include/sys/signal.h /usr/include/machine/signal.h
serial.o: /usr/include/machine/trap.h /usr/include/limits.h
serial.o: /usr/include/sys/limits.h /usr/include/machine/_limits.h
serial.o: /usr/include/sys/syslimits.h /usr/include/sched.h
serial.o: /usr/include/stdio.h /usr/include/string.h /usr/include/strings.h
serial.o: /usr/include/ctype.h /usr/include/runetype.h /usr/include/unistd.h
serial.o: /usr/include/sys/unistd.h /usr/include/termios.h
serial.o: /usr/include/sys/ttycom.h /usr/include/sys/ioccom.h
serial.o: /usr/include/sys/ttydefaults.h /usr/include/fcntl.h
serial.o: /usr/include/errno.h serial.h /usr/include/stdlib.h util.h
disk.o: /usr/include/stdlib.h /usr/include/sys/cdefs.h
disk.o: /usr/include/sys/_types.h /usr/include/machine/_types.h
disk.o: /usr/include/stdio.h /usr/include/string.h /usr/include/strings.h
disk.o: /usr/include/ctype.h /usr/include/runetype.h disk.h util.h diskimg.h
disk.o: config.h token.h serial.h
diskimg.o: /usr/include/stdlib.h /usr/include/sys/cdefs.h
diskimg.o: /usr/include/sys/_types.h /usr/include/machine/_types.h
diskimg.o: /usr/include/stdio.h /usr/include/string.h /usr/include/strings.h
diskimg.o: diskimg.h util.h
util.o: /usr/include/stdio.h /usr/include/sys/cdefs.h
util.o: /usr/include/sys/_types.h /usr/include/machine/_types.h
util.o: /usr/include/string.h /usr/include/strings.h /usr/include/ctype.h
util.o: /usr/include/runetype.h util.h /usr/include/stdlib.h