Skip to content

Commit

Permalink
symantic versioning scheme is adopted
Browse files Browse the repository at this point in the history
  • Loading branch information
ZHcubGVlQHNrLmNvbSAK committed Apr 15, 2019
1 parent af4b97d commit 81de2e1
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
8 changes: 4 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -61,14 +61,14 @@ DEFS=$(DEF-y:%=-D%)
DEBUG_OBJS=$(OBJ-y:%=DEBUG/%)
RELEASE_OBJS=$(OBJ-y:%=RELEASE/%)

DEBUG_TARGET=TachyOS_dbg_$(MAJOR).$(MINOR).elf
RELEASE_TARGET=TachyOS_rel_$(MAJOR).$(MINOR).elf
DEBUG_TARGET=TachyOS_dbg_$(MAJOR).$(MINOR).$(PATCH).elf
RELEASE_TARGET=TachyOS_rel_$(MAJOR).$(MINOR).$(PATCH).elf


PHONY=config all debug release clean config_clean
.SILENT : $(SILENT)

SILENT=config $(OBJ-y:%=DEBUG/%) $(OBJ-y:%=RELEASE/%) $(DEBUG_TARGET) $(RELEASE_TARGET)
SILENT=config $(OBJ-y:%=DEBUG/%) $(OBJ-y:%=RELEASE/%) $(DEBUG_TARGET) $(RELEASE_TARGET) reset clean


all : debug
Expand Down Expand Up @@ -140,7 +140,7 @@ RELEASE/%.sko:%.S
clean:
rm -rf $(OBJ-y) $(DEBUG_TARGET) $(RELEASE_TARGET) $(RELEASE_OBJS) $(DEBUG_OBJS)

config_clean:
reset: clean
rm -rf $(KCONFIG_TARGET) $(KCONFIG_AUTOGEN) $(REPO-y) $(LDIR-y)

.PHONY = $(PHONY)
3 changes: 2 additions & 1 deletion version.mk
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
MAJOR=0
MINOR=1
MINOR=1
PATCH=0

0 comments on commit 81de2e1

Please sign in to comment.