diff options
author | Chris Lattner <sabre@nondot.org> | 2001-11-06 22:53:17 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2001-11-06 22:53:17 +0000 |
commit | 4bf36bb67f924621a2b39696c9b312f28a97e023 (patch) | |
tree | 13847035b848525590f5bd29684f0d0252436006 /test/Makefile.target | |
parent | b6d8fd46a29e8822cbdc627f600a9c81b9bcfcc6 (diff) | |
download | external_llvm-4bf36bb67f924621a2b39696c9b312f28a97e023.zip external_llvm-4bf36bb67f924621a2b39696c9b312f28a97e023.tar.gz external_llvm-4bf36bb67f924621a2b39696c9b312f28a97e023.tar.bz2 |
Minor fixes
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1164 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Makefile.target')
-rw-r--r-- | test/Makefile.target | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/test/Makefile.target b/test/Makefile.target index 491ae53..a17d75c 100644 --- a/test/Makefile.target +++ b/test/Makefile.target @@ -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 $<" |