Update IR test for modern language and toolchain

This commit is contained in:
josh committed 2023-11-18 20:09:29 -05:00
1 parent 91db46aaec
commit 70fd9d8563
3 files changed
+9 -10

No files matched your search

+5 -5
View File
@@ -3,11 +3,11 @@ PROG := ir-test
all: clean $(PROG)
$(PROG): $(PROG).bc
llvm-ld -o $@ -native $<
$(PROG): $(PROG).o
gcc -o $@ $<
%.bc: %.ll
llvm-as $<
%.o: %.ll
clang -c -o $@ $<
clean:
rm -f *~ *.bc $(PROG)
rm -f *~ *.o $(PROG)