memzap

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

Makefile.linux (447B)


      1 include commonvar.mk
      2 SRC := linux_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 $@ $^
     10 
     11 mdiffdump: $(OBJ) mdiffdump.c
     12 	@echo -e "  LD\t$@"
     13 	@$(CC) $(CFLAGS) $(LDFLAGS) -o $@ $^
     14 
     15 termbox/%.o: termbox/%.c $(wildcard termbox/*.h)
     16 	@echo -e "  CC\t$@"
     17 	@$(CC) $(CFLAGS) -Itermbox -c -o $@ $<
     18 
     19 %.o: %.c $(wildcard *.h)
     20 	@echo -e "  CC\t$@"
     21 	@$(CC) $(CFLAGS) -c -o $@ $<