
PROG := ir-test

all: clean $(PROG)

$(PROG): $(PROG).o
	gcc -o $@ $<

%.o: %.ll
	clang -c -o $@ $<

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