diff -ruN wavegain-1.2.3srcs/audio.c wavegain-1.2.3srcs_nu/audio.c --- wavegain-1.2.3srcs/audio.c 2005-04-22 11:17:00.000000000 +0300 +++ wavegain-1.2.3srcs_nu/audio.c 2005-05-19 17:14:15.185247608 +0300 @@ -30,7 +30,6 @@ #include #include #include -#include #include #include #include diff -ruN wavegain-1.2.3srcs/config.h wavegain-1.2.3srcs_nu/config.h --- wavegain-1.2.3srcs/config.h 2005-04-10 18:40:58.000000000 +0300 +++ wavegain-1.2.3srcs_nu/config.h 2005-05-19 17:14:15.188247152 +0300 @@ -4,7 +4,7 @@ #define ENABLE_RECURSIVE /* Define if you have the header file, and it defines `DIR'. */ -#undef HAVE_DIRENT_H +#define HAVE_DIRENT_H /* Define if you don't have `vprintf' but do have `_doprnt.' */ #undef HAVE_DOPRNT @@ -19,7 +19,7 @@ #define HAVE_GETCWD /* Define if you have the header file. */ -#undef HAVE_INTTYPES_H +#define HAVE_INTTYPES_H /* Define if your system has a working `malloc' function. */ #define HAVE_MALLOC @@ -44,7 +44,7 @@ #undef HAVE_STAT_EMPTY_STRING_BUG /* Define if you have the header file. */ -#undef HAVE_STDINT_H +#define HAVE_STDINT_H /* Define if you have the header file. */ #define HAVE_STDLIB_H @@ -59,13 +59,13 @@ #define HAVE_STRERROR /* Define if you have the header file. */ -#undef HAVE_STRINGS_H +#define HAVE_STRINGS_H /* Define if you have the header file. */ #define HAVE_STRING_H /* Define if you have the header file, and it defines `DIR'. */ -#undef HAVE_SYS_DIR_H +#define HAVE_SYS_DIR_H /* Define if you have the header file, and it defines `DIR'. */ #undef HAVE_SYS_NDIR_H @@ -77,7 +77,7 @@ #define HAVE_SYS_TYPES_H /* Define if you have the header file. */ -#undef HAVE_UNISTD_H +#define HAVE_UNISTD_H /* Define if you have the header file. */ #define HAVE_UTIME_H diff -ruN wavegain-1.2.3srcs/main.c wavegain-1.2.3srcs_nu/main.c --- wavegain-1.2.3srcs/main.c 2005-05-18 20:18:28.000000000 +0300 +++ wavegain-1.2.3srcs_nu/main.c 2005-05-19 17:14:15.193246392 +0300 @@ -292,7 +292,7 @@ fprintf(stderr, " wave files with 1 or 2 channels and a sample rate of 48000Hz, 44100Hz,\n"); fprintf(stderr, " 32000Hz, 24000Hz, 22050Hz, 16000Hz, 12000Hz, 11025Hz or 8000Hz.\n"); fprintf(stderr, " 16 bit integer 'aiff' files are also supported.\n"); - fprintf(stderr, " Wildcards (?, *) can be used in the filename, or '-' for stdin."); + fprintf(stderr, " Wildcards (?, *) can be used in the filename, or '-' for stdin.\n"); return; } diff -ruN wavegain-1.2.3srcs/Makefile wavegain-1.2.3srcs_nu/Makefile --- wavegain-1.2.3srcs/Makefile 1970-01-01 03:00:00.000000000 +0300 +++ wavegain-1.2.3srcs_nu/Makefile 2005-05-19 17:18:39.412079024 +0300 @@ -0,0 +1,17 @@ +CFLAGS+=-DNDEBUG -DHAVE_CONFIG_H -D_USE_NON_INTEL_COMPILER +TARGET=wavegain + +.PHONY: all +all: $(TARGET) + +%.o: %.c + $(CC) $(CFLAGS) -o $@ -c $< + +SRCS=audio.c dither.c gain_analysis.c getopt.c \ + getopt1.c main.c misc.c recurse.c wavegain.c + +OBJS=$(patsubst %.c,%.o,$(filter %.c,$(SRCS))) + +$(TARGET): $(OBJS) + $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $(OBJS) -lm +