Added message compiler.

svn path=/trunk/; revision=2363
This commit is contained in:
Eric Kohl 2001-11-09 12:37:15 +00:00
parent 51f2c2d3d0
commit cdd8ad011c
2 changed files with 9 additions and 1 deletions

View file

@ -74,6 +74,8 @@ CP = $(TOOLS_PATH)/rcopy
RM = $(TOOLS_PATH)/rdel
RMDIR = $(TOOLS_PATH)/rrmdir
RMKDIR = $(TOOLS_PATH)/rmkdir
MC = $(TOOLS_PATH)/wmc/wmc
# Maybe we can delete these soon
CFLAGS := $(CFLAGS) -I$(PATH_TO_TOP)/include -pipe -m386

View file

@ -6,7 +6,8 @@ TOOLS = \
rcopy$(EXE_POSTFIX) \
rdel$(EXE_POSTFIX) \
rmkdir$(EXE_POSTFIX) \
rrmdir$(EXE_POSTFIX)
rrmdir$(EXE_POSTFIX) \
wmc$(EXE_POSTFIX)
CLEAN_FILES = $(TOOLS)
@ -50,15 +51,20 @@ rrmdir$(EXE_POSTFIX): rrmdir.c
$(HOST_CC) $(CFLAGS) -DDOS_PATHS rrmdir.c -o rrmdir$(EXE_POSTFIX)
endif
wmc$(EXE_POSTFIX):
make -C wmc wmc$(EXE_POSTFIX)
ifeq ($(HOST),mingw32-linux)
clean:
rm $(TOOLS)
rm mkconfig$(EXE_POSTFIX)
make -C wmc clean
endif
ifeq ($(HOST),mingw32-windows)
clean:
del $(TOOLS)
del mkconfig$(EXE_POSTFIX)
make -C wmc clean
endif
.PHONY: all clean