--- /dev/null
+# $Id$
+
+CC = cc
+CFLAGS = -std=c99
+LDFLAGS =
+LIBS =
+SUFFIX =
+
+.PHONY: all ./Serenade
+
+all: ./Tool ./Serenade
+
+./Tool::
+ $(MAKE) -C ./Tool CC="$(CC)" CFLAGS="$(CFLAGS)" LDFLAGS="$(LDFLAGS)" LIBS="$(LIBS)" SUFFIX="$(SUFFIX)"
+
+./Serenade::
+ $(MAKE) -C ./Serenade CC="$(CC)" CFLAGS="$(CFLAGS)" LDFLAGS="$(LDFLAGS)" LIBS="$(LIBS)" SUFFIX="$(SUFFIX)"
+
+clean:
+ $(MAKE) -C ./Tool clean
+ $(MAKE) -C ./Serenade clean
--- /dev/null
+# $Id$
+
+SERENADE_OBJS = main.o
+
+.PHONY: all clean
+.SUFFIXES: .o .c
+
+all: ./serenade$(SUFFIX)
+
+./serenade$(SUFFIX): $(SERENADE_OBJS)
+ $(CC) $(LDFLAGS) -o $@ $(SERENADE_OBJS) $(LIBS)
+
+.c.o:
+ $(CC) $(CFLAGS) -c -o $@ $<
+
+clean:
+ rm -f *.o ./serenade ./serenade.exe
--- /dev/null
+/* $Id$ */
+
+int main(){}
--- /dev/null
+ # $Id$
+
+CONFIGGEN_OBJS = configgen.o
+
+.PHONY: all clean
+.SUFFIXES: .o .c
+
+all: ./configgen
+
+./configgen: $(CONFIGGEN_OBJS)
+ cc -o $@ $(CONFIGGEN_OBJS)
+
+.c.o:
+ cc -c -o $@ $<
+
+clean:
+ rm -f *.o ./configgen ./configgen.exe
--- /dev/null
+#include <stdio.h>
+
+int main(){}