mirror of https://github.com/g4klx/MMDVM.git
Add GitVersion.h to clean command
This commit is contained in:
parent
b4bef6e7c3
commit
23228a0027
6
Makefile
6
Makefile
|
@ -36,19 +36,19 @@ ifdef SYSTEMROOT
|
||||||
ASOURCES=$(shell dir /S /B *.s)
|
ASOURCES=$(shell dir /S /B *.s)
|
||||||
CSOURCES=$(shell dir /S /B *.c)
|
CSOURCES=$(shell dir /S /B *.c)
|
||||||
CXXSOURCES=$(shell dir /S /B *.cpp)
|
CXXSOURCES=$(shell dir /S /B *.cpp)
|
||||||
CLEANCMD=del /S *.o *.hex *.bin *.elf
|
CLEANCMD=del /S *.o *.hex *.bin *.elf GitVersion.h
|
||||||
MDBIN=md $@
|
MDBIN=md $@
|
||||||
else ifdef SystemRoot
|
else ifdef SystemRoot
|
||||||
ASOURCES=$(shell dir /S /B *.s)
|
ASOURCES=$(shell dir /S /B *.s)
|
||||||
CSOURCES=$(shell dir /S /B *.c)
|
CSOURCES=$(shell dir /S /B *.c)
|
||||||
CXXSOURCES=$(shell dir /S /B *.cpp)
|
CXXSOURCES=$(shell dir /S /B *.cpp)
|
||||||
CLEANCMD=del /S *.o *.hex *.bin *.elf
|
CLEANCMD=del /S *.o *.hex *.bin *.elf GitVersion.h
|
||||||
MDBIN=md $@
|
MDBIN=md $@
|
||||||
else
|
else
|
||||||
ASOURCES=$(shell find . -name '*.s')
|
ASOURCES=$(shell find . -name '*.s')
|
||||||
CSOURCES=$(shell find . -name '*.c')
|
CSOURCES=$(shell find . -name '*.c')
|
||||||
CXXSOURCES=$(shell find . -name '*.cpp')
|
CXXSOURCES=$(shell find . -name '*.cpp')
|
||||||
CLEANCMD=rm -f $(OBJECTS) $(BINDIR)/$(BINELF) $(BINDIR)/$(BINHEX) $(BINDIR)/$(BINBIN)
|
CLEANCMD=rm -f $(OBJECTS) $(BINDIR)/$(BINELF) $(BINDIR)/$(BINHEX) $(BINDIR)/$(BINBIN) GitVersion.h
|
||||||
MDBIN=mkdir $@
|
MDBIN=mkdir $@
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue