[ros-diffs] [narnaoud] 12798: Use .exe postfix when building on non-windows hosts too.

narnaoud at svn.reactos.com narnaoud at svn.reactos.com
Tue Jan 4 21:50:07 CET 2005


Use .exe postfix when building on non-windows hosts too.
We are always building Win32 executable.
Modified: trunk/rosapps/sysutils/regexpl/Makefile
  _____  

Modified: trunk/rosapps/sysutils/regexpl/Makefile
--- trunk/rosapps/sysutils/regexpl/Makefile	2005-01-04 20:37:48 UTC
(rev 12797)
+++ trunk/rosapps/sysutils/regexpl/Makefile	2005-01-04 20:50:06 UTC
(rev 12798)
@@ -1,4 +1,4 @@

-# $Id: Makefile,v 1.13 2004/12/29 00:31:45 gvg Exp $
+# $Id$
 #
 #  ReactOS makefile for RegExpl
 #
@@ -9,7 +9,7 @@
 
 TARGET_NAME=regexpl
 
-all: $(TARGET_NAME)$(EXE_POSTFIX)
+all: $(TARGET_NAME).exe
 
 ROS_DIR=../../../reactos
 ROS_INC=$(ROS_DIR)/include
@@ -52,12 +52,12 @@
 
 CLEAN_FILES = \
 	*.o				\
-	$(TARGET_NAME)$(EXE_POSTFIX)	\
+	$(TARGET_NAME).exe		\
 	$(TARGET_NAME).sym		
 
-$(TARGET_NAME)$(EXE_POSTFIX): $(OBJECTS)
-	$(CXX) -Wl,--subsystem,console -o $(TARGET_NAME)$(EXE_POSTFIX)
$(OBJECTS)$(IMPORT_KERNEL32) $(IMPORT_USER32)
-	$(NM) --numeric-sort $(TARGET_NAME)$(EXE_POSTFIX) >
$(TARGET_NAME).sym
+$(TARGET_NAME).exe: $(OBJECTS)
+	$(CXX) -Wl,--subsystem,console -o $(TARGET_NAME).exe
$(OBJECTS)$(IMPORT_KERNEL32) $(IMPORT_USER32)
+	$(NM) --numeric-sort $(TARGET_NAME).exe > $(TARGET_NAME).sym
 
 clean: $(CLEAN_FILES:%=%_clean)
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.reactos.org/pipermail/ros-diffs/attachments/20050104/f0f0688c/attachment.html


More information about the Ros-diffs mailing list