save
This commit is contained in:
7
Makefile
7
Makefile
@@ -22,10 +22,9 @@ build:
|
||||
c-out/obj/%.o: yait/%.c
|
||||
$(CC) $(CFLAGS) -c $< -o $@
|
||||
|
||||
$(YAIT): $(YAIT_OBJS)
|
||||
$(YAIT): $(YAIT_OBJS) $(EMBED_HEADER)
|
||||
$(CC) $(CFLAGS) -DCOMMIT=$(shell git rev-list --count --all) $^ -o $@
|
||||
|
||||
|
||||
endif
|
||||
|
||||
install:
|
||||
@@ -38,8 +37,10 @@ uninstall:
|
||||
|
||||
clean:
|
||||
rm -rf c-out
|
||||
rm -f $(EMBED_HEADER)
|
||||
rm -f $(EMBED_HEADERS)
|
||||
|
||||
dist-clean: clean
|
||||
rm -f config.mak
|
||||
|
||||
.PHONY: all clean dist-clean install uninstall build format
|
||||
.PHONY: all clean dist-clean install uninstall build format gen-file-embeds
|
||||
|
||||
Reference in New Issue
Block a user