блабла

git-svn-id: svn://kolibrios.org@225 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
victor 2006-12-01 10:55:54 +00:00
parent 077f779dea
commit 7d89df5d1b

View File

@ -11,6 +11,12 @@ cfiles := $(foreach dir,$(DIRS),$(patsubst %.c, %.o, $(wildcard $(dir)/*.c)))
.PHONY: clean all
ifdef windir
doClean = del /F /Q $(subst /,\,$(cfiles)) $(subst /,\,$(asmfiles))
else
doClean = rm $(cfiles) $(asmfiles)
endif
all: $(cfiles) $(asmfiles)
ar -ru $(LIBNAME) $^
@ -20,4 +26,4 @@ $(asmfiles):
fasm $*.asm $*.o
clean:
del /F /Q $(subst /,\,$(cfiles)) $(subst /,\,$(asmfiles))
$(doClean)