mirror of
https://github.com/reactos/reactos.git
synced 2024-12-26 00:54:40 +00:00
Make regexpl build again. This has been bitrotting for a while.
svn path=/trunk/; revision=11267
This commit is contained in:
parent
0f86ec1497
commit
ee08f03b99
1 changed files with 6 additions and 26 deletions
|
@ -1,9 +1,9 @@
|
|||
# $Id: Makefile,v 1.11 2003/10/19 22:59:36 narnaoud Exp $
|
||||
# $Id: Makefile,v 1.12 2004/10/11 01:20:13 sedwards Exp $
|
||||
#
|
||||
# ReactOS makefile for RegExpl
|
||||
#
|
||||
|
||||
PATH_TO_TOP = ../..
|
||||
PATH_TO_TOP := ../../../reactos
|
||||
|
||||
include $(PATH_TO_TOP)/rules.mak
|
||||
|
||||
|
@ -11,8 +11,6 @@ TARGET_NAME=regexpl
|
|||
|
||||
all: $(TARGET_NAME)$(EXE_POSTFIX)
|
||||
|
||||
include depend.mak
|
||||
|
||||
ROS_DIR=../../../reactos
|
||||
ROS_INC=$(ROS_DIR)/include
|
||||
ROS_LIB=$(ROS_DIR)/dk/w32/lib
|
||||
|
@ -22,10 +20,6 @@ IMPORT_KERNEL32=$(ROS_LIB)/kernel32.a
|
|||
IMPORT_ADVAPI32=$(ROS_LIB)/advapi32.a
|
||||
IMPORT_USER32=$(ROS_LIB)/user32.a
|
||||
|
||||
depend.mak : *.h
|
||||
$(CC) \
|
||||
-MM *.cpp *.c > $@
|
||||
|
||||
OBJECTS = \
|
||||
ArgumentParser.o \
|
||||
Console.o \
|
||||
|
@ -54,31 +48,17 @@ OBJECTS = \
|
|||
Completion.o \
|
||||
Pattern.o \
|
||||
Settings.o \
|
||||
Prompt.o \
|
||||
$(TARGET_NAME).coff
|
||||
Prompt.o
|
||||
|
||||
CLEAN_FILES = \
|
||||
*.o \
|
||||
$(TARGET_NAME)$(EXE_POSTFIX) \
|
||||
$(TARGET_NAME).sym \
|
||||
$(TARGET_NAME).coff\
|
||||
depend.mak
|
||||
$(TARGET_NAME).sym
|
||||
|
||||
|
||||
$(TARGET_NAME)$(EXE_POSTFIX): $(OBJECTS) $(TARGET_NAME).coff
|
||||
$(CXX) -Wl,--subsystem,console -o $(TARGET_NAME)$(EXE_POSTFIX) $(OBJECTS) $(TARGET_NAME).coff $(IMPORT_KERNEL32) $(IMPORT_USER32)
|
||||
$(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_POSTFIX): $(OBJECTS)
|
||||
# $(CPP) \
|
||||
# -Wl,--subsystem,console \
|
||||
# -o $@ \
|
||||
# $(IMPORT_KERNEL32) \
|
||||
# $(IMPORT_USER32) \
|
||||
# $(OBJECTS)
|
||||
# $(NM) --numeric-sort $(TARGET_NAME)$(EXE_POSTFIX) > $(TARGET_NAME).sym
|
||||
|
||||
clean: $(CLEAN_FILES:%=%_clean)
|
||||
|
||||
$(CLEAN_FILES:%=%_clean): %_clean:
|
||||
|
|
Loading…
Reference in a new issue