[m-rev.] diff: build utils directory using MSVC

Peter Ross pro at missioncriticalit.com
Fri Jun 15 02:29:22 AEST 2007


Hi,


===================================================================


Estimated hours taken: 0.5
Branches: main

util/Mmakefile:
	The all target depends on mkinit and mkinit_erl
	not mkinit.exe and mkinit_erl.exe so the above rules
	don't build under windows.


Index: util/Mmakefile
===================================================================
RCS file: /home/mercury1/repository/mercury/util/Mmakefile,v
retrieving revision 1.20
diff -u -r1.20 Mmakefile
--- util/Mmakefile	8 Jun 2007 00:47:15 -0000	1.20
+++ util/Mmakefile	13 Jun 2007 23:25:48 -0000
@@ -43,12 +43,12 @@
 	$(MGNUC) --no-mercury-stdlib-dir \
 		$(GRADEFLAGS) $(ALL_MGNUCFLAGS) -o $@ $< $(GETOPT_SRC)
 
-mkinit$(EXT_FOR_EXE): mkinit.c mkinit_common.c mkinit_common.h
+mkinit: mkinit.c mkinit_common.c mkinit_common.h
 	$(MGNUC) --no-mercury-stdlib-dir \
 		$(GRADEFLAGS) $(ALL_MGNUCFLAGS) -o $@ \
 			mkinit.c mkinit_common.c $(GETOPT_SRC)
 
-mkinit_erl$(EXT_FOR_EXE): mkinit_erl.c mkinit_common.c mkinit_common.h
+mkinit_erl: mkinit_erl.c mkinit_common.c mkinit_common.h
 	$(MGNUC) --no-mercury-stdlib-dir \
 		$(GRADEFLAGS) $(ALL_MGNUCFLAGS) -o $@ \
 			mkinit_erl.c mkinit_common.c $(GETOPT_SRC)

--------------------------------------------------------------------------
mercury-reviews mailing list
Post messages to:       mercury-reviews at csse.unimelb.edu.au
Administrative Queries: owner-mercury-reviews at csse.unimelb.edu.au
Subscriptions:          mercury-reviews-request at csse.unimelb.edu.au
--------------------------------------------------------------------------



More information about the reviews mailing list