summaryrefslogtreecommitdiff
path: root/src/Makefile
diff options
context:
space:
mode:
authorIan C <ianc@noddybox.co.uk>2007-05-07 02:05:54 +0000
committerIan C <ianc@noddybox.co.uk>2007-05-07 02:05:54 +0000
commit024f069d1f0feb3ecb2eea6b1443536defb01f35 (patch)
treefd108ce1dcc82fe14029db250f4505ea7f4321ff /src/Makefile
parentc657944c91fae5f581839912cb0a55bee84c9278 (diff)
This commit was generated by cvs2svn to compensate for changes in r2,HEADmaster
which included commits to RCS files with non-trunk default branches.
Diffstat (limited to 'src/Makefile')
-rw-r--r--src/Makefile113
1 files changed, 113 insertions, 0 deletions
diff --git a/src/Makefile b/src/Makefile
new file mode 100644
index 0000000..639860c
--- /dev/null
+++ b/src/Makefile
@@ -0,0 +1,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