mirror of
https://github.com/RPCSX/llvm.git
synced 2025-01-23 12:45:47 +00:00
Minor fixes
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1164 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
b6d8fd46a2
commit
4bf36bb67f
@ -56,7 +56,10 @@ ifdef PROG
|
||||
$(LOPT) -cleangcc -raise -constprop -dce -o $@ -f $<
|
||||
|
||||
$(PROG).native: $(OBJS:.o=.c)
|
||||
gcc $(OBJS:.o=.c) -O2 $(LOCAL_CFLAGS) -Wall -o $@
|
||||
gcc $(OBJS:.o=.c) -O2 $(LOCAL_CFLAGS) $(LOCAL_LIBS) -Wall -o $@
|
||||
|
||||
clean::
|
||||
rm -f $(PROG).native $(PROG)
|
||||
|
||||
endif
|
||||
|
||||
@ -69,8 +72,8 @@ $(LLCLIB):
|
||||
runtime.o: runtime.c
|
||||
$(CC) -c $(CCFLAGS) $<
|
||||
|
||||
clean :
|
||||
$(RM) *.[123] *.bc *.mc *.s *.o a.out core $(PROG)
|
||||
clean ::
|
||||
$(RM) *.[123] *.bc *.mc *.s *.o a.out core *~
|
||||
|
||||
%.mc: %.bc $(LLC) $(AS)
|
||||
@echo "Generating machine instructions for $<"
|
||||
|
@ -56,7 +56,10 @@ ifdef PROG
|
||||
$(LOPT) -cleangcc -raise -constprop -dce -o $@ -f $<
|
||||
|
||||
$(PROG).native: $(OBJS:.o=.c)
|
||||
gcc $(OBJS:.o=.c) -O2 $(LOCAL_CFLAGS) -Wall -o $@
|
||||
gcc $(OBJS:.o=.c) -O2 $(LOCAL_CFLAGS) $(LOCAL_LIBS) -Wall -o $@
|
||||
|
||||
clean::
|
||||
rm -f $(PROG).native $(PROG)
|
||||
|
||||
endif
|
||||
|
||||
@ -69,8 +72,8 @@ $(LLCLIB):
|
||||
runtime.o: runtime.c
|
||||
$(CC) -c $(CCFLAGS) $<
|
||||
|
||||
clean :
|
||||
$(RM) *.[123] *.bc *.mc *.s *.o a.out core $(PROG)
|
||||
clean ::
|
||||
$(RM) *.[123] *.bc *.mc *.s *.o a.out core *~
|
||||
|
||||
%.mc: %.bc $(LLC) $(AS)
|
||||
@echo "Generating machine instructions for $<"
|
||||
|
Loading…
x
Reference in New Issue
Block a user