makefiles and versioning update complete

This commit is contained in:
Dhanya Maliakal
2017-06-29 17:10:10 +02:00
parent 1a74ceca3e
commit b05e9c194a
14 changed files with 135 additions and 95 deletions

View File

@ -21,12 +21,13 @@ OBJS = $(SRCS:%.c=%.o)
all: clean updateVersion $(PROGS)
all: clean $(PROGS)
boot: $(OBJS)
$(PROGS): $(OBJS)
echo $(OBJS)
@echo `tput setaf 6; ./updateGitVersion.sh; tput sgr0;`
$(CC) $(CFLAGS) -o $@ $^ $(LDLIBS_$@) $(LDFLAGS_$@)
@ -41,9 +42,6 @@ romfs:
clean:
rm -rf $(PROGS) *.o *.gdb
updateVersion:
./updateGitVersion.sh