1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-19 11:02:59 +02:00

Minor fixes

llvm-svn: 1164
This commit is contained in:
Chris Lattner 2001-11-06 22:53:17 +00:00
parent d1cd54e437
commit 6dde80a780
2 changed files with 12 additions and 6 deletions

View File

@ -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 $<"

View File

@ -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 $<"