File wadptr-automake.diff of Package wadptr
From: Jan Engelhardt <jengelh@medozas.de>
Date: May 30 2011
Easier, simpler Makefiles.
---
Makefile.am | 8 ++++++++
configure.ac | 6 ++++++
2 files changed, 14 insertions(+)
Index: wadptr-2.4/Makefile.am
===================================================================
--- /dev/null
+++ wadptr-2.4/Makefile.am
@@ -0,0 +1,8 @@
+# -*- Makefile -*-
+
+AM_CFLAGS = -DANSILIBS -DNORMALUNIX -O3
+
+bin_PROGRAMS = wadptr
+wadptr_SOURCES = main.c errors.c lumps.c waddir.c wadmerge.c
+
+doc_DATA = wadptr.txt
Index: wadptr-2.4/configure.ac
===================================================================
--- /dev/null
+++ wadptr-2.4/configure.ac
@@ -0,0 +1,6 @@
+AC_INIT([wadptr], [2.3])
+AC_CONFIG_HEADERS([config.h])
+AM_INIT_AUTOMAKE([-Wall foreign subdir-objects])
+AC_PROG_CC
+AC_CONFIG_FILES([Makefile])
+AC_OUTPUT