VPATH = ../bin

OBJS = emu.o

EMU = $(TMPBINDIR)/emu

all: $(EMU)

.c.o:
	$(CC) $(CFLAGS) $(IDIRS) $<

$(EMU): $(OBJS) libreiserfs.a libmisc.a
	$(CC) $(LFLAGS) -o $(EMU) $(OBJS) $(LIBS)

clean:
	rm -f *.o $(EMU) *~

dep:
	gcc -MM $(IDIRS) *.c > .depend



ifeq (.depend,$(wildcard .depend))
include .depend
endif
