CC 	= gcc
CFLAGS 	= -O2 -Wall -g


all: 	objdump

objdump: objdump.o disasm.o 
	gcc -O2 -Wall objdump.o disasm.o -o objdump

objdump.o: objdump.c disasm.h bool.h
	$(CC) $(CFLAGS) -c $< -o $@

disasm.o: disasm.c disasm.h
	$(CC) $(CFLAGS) -c $< -o $@

bool.h: ./bool
	./bool >bool.h

./bool: bool.cc

clean:
	rm -f *.o *.bak *~ objdump a.out bool bool.h *.exe



syntax highlighted by Code2HTML, v. 0.9.1