memzap

replay memory writes
git clone git://git.2f30.org/memzap
Log | Files | Refs | README | LICENSE

commit 85e91cafcb8c2420d637e4ed36aab254d8a49628
parent e7de35a886d785e2290cbd749f5a108eb29abcf8
Author: sin <sin@2f30.org>
Date:   Fri, 25 Oct 2013 16:34:31 +0100

Add tiny configure script

Diffstat:
DMakefile | 21---------------------
Aconfigure | 10++++++++++
2 files changed, 10 insertions(+), 21 deletions(-)

diff --git a/Makefile b/Makefile @@ -1,21 +0,0 @@ -include commonvar.mk -SRC := linux_ops.c $(SRC) -OBJ = $(SRC:.c=.o) - -include common.mk - -memzap: $(OBJ) memzap.c - @echo -e " LD\t$@" - @$(CC) $(CFLAGS) $(LDFLAGS) -o $@ $^ - -mdiffdump: $(OBJ) mdiffdump.c - @echo -e " LD\t$@" - @$(CC) $(CFLAGS) $(LDFLAGS) -o $@ $^ - -termbox/%.o: termbox/%.c $(wildcard termbox/*.h) - @echo -e " CC\t$@" - @$(CC) $(CFLAGS) -Itermbox -c -o $@ $< - -%.o: %.c $(wildcard *.h) - @echo -e " CC\t$@" - @$(CC) $(CFLAGS) -c -o $@ $< diff --git a/configure b/configure @@ -0,0 +1,10 @@ +#!/bin/sh + +case `uname` in +OpenBSD) + ln Makefile.openbsd Makefile + ;; +*) + ln Makefile.linux Makefile + ;; +esac