initial import
authorJosh Coalson <jcoalson@users.sourceforce.net>
Wed, 27 Jun 2001 08:46:34 +0000 (08:46 +0000)
committerJosh Coalson <jcoalson@users.sourceforce.net>
Wed, 27 Jun 2001 08:46:34 +0000 (08:46 +0000)
src/test_streams/Makefile.vc [new file with mode: 0644]
src/test_unit/Makefile.vc [new file with mode: 0644]

diff --git a/src/test_streams/Makefile.vc b/src/test_streams/Makefile.vc
new file mode 100644 (file)
index 0000000..3479efe
--- /dev/null
@@ -0,0 +1,40 @@
+#  test_streams - Simple test pattern generator\r
+#  Copyright (C) 2001  Josh Coalson\r
+#\r
+#  This program is free software; you can redistribute it and/or\r
+#  modify it under the terms of the GNU General Public License\r
+#  as published by the Free Software Foundation; either version 2\r
+#  of the License, or (at your option) any later version.\r
+#\r
+#  This program is distributed in the hope that it will be useful,\r
+#  but WITHOUT ANY WARRANTY; without even the implied warranty of\r
+#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\r
+#  GNU General Public License for more details.\r
+#\r
+#  You should have received a copy of the GNU General Public License\r
+#  along with this program; if not, write to the Free Software\r
+#  Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.\r
+\r
+!include <win32.mak>\r
+\r
+!IFDEF DEBUG\r
+.c.obj:\r
+       $(cc) $(cdebug) $(cflags) /I "..\..\include" /I ".\include" -DSTRICT -DVERSION=\"1.0\" -YX /Od /D "_DEBUG" $<\r
+!else\r
+.c.obj:\r
+       $(cc) /O2 $(crelease) $(cflags) /I "..\..\include" /I ".\include" -DSTRICT -DVERSION=\"1.0\" -YX -DNODEBUG $<\r
+!endif\r
+\r
+C_FILES= \\r
+       main.c\r
+\r
+OBJS= $(C_FILES:.c=.obj)\r
+\r
+all: test_streams.exe\r
+\r
+test_streams.exe: $(OBJS)\r
+       link.exe /libpath:"..\..\obj\lib" -out:../../obj/bin/$*.exe $(OBJS)\r
+\r
+clean:\r
+       -del *.obj *.pch\r
+       -del ..\..\obj\bin\test_streams.exe\r
diff --git a/src/test_unit/Makefile.vc b/src/test_unit/Makefile.vc
new file mode 100644 (file)
index 0000000..cc8d9c5
--- /dev/null
@@ -0,0 +1,41 @@
+#  test_unit - Simple FLAC unit tester\r
+#  Copyright (C) 2001  Josh Coalson\r
+#\r
+#  This program is free software; you can redistribute it and/or\r
+#  modify it under the terms of the GNU General Public License\r
+#  as published by the Free Software Foundation; either version 2\r
+#  of the License, or (at your option) any later version.\r
+#\r
+#  This program is distributed in the hope that it will be useful,\r
+#  but WITHOUT ANY WARRANTY; without even the implied warranty of\r
+#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\r
+#  GNU General Public License for more details.\r
+#\r
+#  You should have received a copy of the GNU General Public License\r
+#  along with this program; if not, write to the Free Software\r
+#  Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.\r
+\r
+!include <win32.mak>\r
+\r
+!IFDEF DEBUG\r
+.c.obj:\r
+       $(cc) $(cdebug) $(cflags) /I "..\libFLAC\include" /I "..\..\include" /I ".\include" -DSTRICT -DVERSION=\"1.0\" -YX /Od /D "_DEBUG" $<\r
+!else\r
+.c.obj:\r
+       $(cc) /O2 $(crelease) $(cflags) /I "..\libFLAC\include" /I "..\..\include" /I ".\include" -DSTRICT -DVERSION=\"1.0\" -YX -DNODEBUG $<\r
+!endif\r
+\r
+C_FILES= \\r
+       bitbuffer.c \\r
+       main.c\r
+\r
+OBJS= $(C_FILES:.c=.obj)\r
+\r
+all: test_unit.exe\r
+\r
+test_unit.exe: $(OBJS)\r
+       link.exe /libpath:"..\..\obj\lib" -out:../../obj/bin/$*.exe $(OBJS) libFLAC.lib\r
+\r
+clean:\r
+       -del *.obj *.pch\r
+       -del ..\..\obj\bin\test_unit.exe\r