Update IR test for modern language and toolchain
This commit is contained in:
1 parent
91db46aaec
commit
70fd9d8563
3 files changed
+9
-10
No files matched your search
+5
-5
@@ -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)
|
||||
Reference in new issue
Block a user