aboutsummaryrefslogtreecommitdiffstats
path: root/test/Makefile.tests
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2001-11-06 22:53:17 +0000
committerChris Lattner <sabre@nondot.org>2001-11-06 22:53:17 +0000
commit4bf36bb67f924621a2b39696c9b312f28a97e023 (patch)
tree13847035b848525590f5bd29684f0d0252436006 /test/Makefile.tests
parentb6d8fd46a29e8822cbdc627f600a9c81b9bcfcc6 (diff)
downloadexternal_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.tests')
-rw-r--r--test/Makefile.tests9
1 files changed, 6 insertions, 3 deletions
diff --git a/test/Makefile.tests b/test/Makefile.tests
index 491ae53..a17d75c 100644
--- a/test/Makefile.tests
+++ b/test/Makefile.tests
@@ -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 $<"