memzap

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

Makefile.openbsd (335B)


      1 include commonvar.mk
      2 SRC := openbsd_ops.c $(SRC)
      3 OBJ = $(SRC:.c=.o)
      4 
      5 include common.mk
      6 
      7 memzap: $(OBJ) memzap.c
      8 	@echo -e "  LD\t$@"
      9 	@$(CC) $(CFLAGS) $(LDFLAGS) -o $@ $> $(LIBS)
     10 
     11 mdiffdump: $(OBJ) mdiffdump.c
     12 	@echo -e "  LD\t$@"
     13 	@$(CC) $(CFLAGS) $(LDFLAGS) -o $@ $> $(LIBS)
     14 
     15 .c.o:
     16 	@echo -e "  CC\t$@"
     17 	@$(CC) $(CFLAGS) -c -o $@ $<