Fixed the 'clean' rule.

svn path=/trunk/; revision=419
This commit is contained in:
Eric Kohl 1999-04-27 14:51:27 +00:00
parent f661ec6b08
commit e5bfd35667

View file

@ -129,6 +129,19 @@ OBJECTS = $(MISC_OBJECTS) $(STDLIB_OBJECTS) $(IO_OBJECTS) \
$(SEARCH_OBJECTS) $(CONIO_OBJECTS) $(DIRECT_OBJECTS) \
$(SIGNAL_OBJECTS) $(RESOURCE_OBJECT)
ifeq ($(DOSCLI), yes)
CLEAN_FILES = assert\*.o conio\*.o ctype\*.o direct\*.o dirent\*.o \
except\*.o float\*.o io\*.o libc\*.o locale\*.o malloc\*.o \
math\*.o mbstring\*.o misc\*.o process\*.o quad\*.o search\*.o \
setjmp\*.o stdio\*.o stdlib\*.o string\*.o sys_stat\*.o tchar\*.o \
time\*.o wchar\*.o crtdll.a crtdll.o crtdll.dll crtdll.sym
else
CLEAN_FILES = assert/*.o conio/*.o ctype/*.o direct/*.o dirent/*.o \
except/*.o float/*.o io/*.o libc/*.o locale/*.o malloc/*.o \
math/*.o mbstring/*.o misc/*.o process/*.o quad/*.o search/*.o \
setjmp/*.o stdio/*.o stdlib/*.o string/*.o sys_stat/*.o tchar/*.o \
time/*.o wchar/*.o crtdll.a crtdll.o crtdll.dll crtdll.sym
endif
crtdll.coff: crtdll.rc ../../include/reactos/resource.h
windres crtdll.rc crtdll.coff
@ -155,7 +168,11 @@ crtdll.dll: $(DLLMAIN) $(OBJECTS) crtdll.def
- $(RM) temp.exp
$(NM) --numeric-sort crtdll.dll > crtdll.sym
clean:
clean: $(CLEAN_FILES:%=%_clean)
$(CLEAN_FILES:%=%_clean): %_clean:
- $(RM) $*
include ../../rules.mak