diff runtime/lib/gc/basic/ldc.mak @ 684:f1560a529987

Updates to makefiles. It's not robust with regard to the .bc files, but it works.
author Christian Kamm <kamm incasoftware de>
date Sun, 12 Oct 2008 10:42:54 +0200
parents dc078dd8d2e1
children
line wrap: on
line diff
--- a/runtime/lib/gc/basic/ldc.mak	Sun Oct 12 10:35:16 2008 +0200
+++ b/runtime/lib/gc/basic/ldc.mak	Sun Oct 12 10:42:54 2008 +0200
@@ -57,12 +57,9 @@
 .cpp.o:
 	g++ -c $(CFLAGS) $< -o$@
 
-.d.bc:
+.d.o:
 	$(DC) -c $(DFLAGS) $< -of$@ -output-bc
 
-.d.o:
-	$(DC) -c $(DFLAGS) $< -of$@
-
 .d.html:
 	$(DC) -c -o- $(DOCFLAGS) -Df$*.html $<
 #	$(DC) -c -o- $(DOCFLAGS) -Df$*.html dmd.ddoc $<
@@ -99,7 +96,7 @@
 basic.nlib : $(LIB_TARGET_NATIVE)
 basic.sharedlib : $(LIB_TARGET_SHARED)
 
-$(LIB_TARGET_BC) : $(ALL_OBJS_BC)
+$(LIB_TARGET_BC) : $(ALL_OBJS_O)
 	$(RM) $@
 	$(LC) $@ $(ALL_OBJS_BC)
 
@@ -120,7 +117,8 @@
 
 clean :
 	find . -name "*.di" | xargs $(RM)
-	$(RM) $(ALL_OBJS)
+	$(RM) $(ALL_OBJS_BC)
+	$(RM) $(ALL_OBJS_O)
 	$(RM) $(ALL_DOCS)
 	$(RM) $(LIB_MASK)