Build: Make out directories on building.
This commit is contained in:
parent
77a732c21e
commit
e1bf760ff8
2
.gitignore
vendored
Normal file
2
.gitignore
vendored
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
bin
|
||||||
|
build
|
3
Makefile
3
Makefile
|
@ -52,10 +52,11 @@ tp-clean : $(THIRDPARTS)
|
||||||
@$(foreach dir,$^,make --no-print-directory -C $(dir) clean;)
|
@$(foreach dir,$^,make --no-print-directory -C $(dir) clean;)
|
||||||
|
|
||||||
clean : tp-clean
|
clean : tp-clean
|
||||||
$(ECHO_PREFIX) $(RM) $(BINDIR)/* $(BUILDDIR)/*
|
$(ECHO_PREFIX) $(RM) -rf $(BINDIR) $(BUILDDIR)
|
||||||
@echo -e $(CLEANMSG)
|
@echo -e $(CLEANMSG)
|
||||||
|
|
||||||
$(TARGET) : $(LDOBJS)
|
$(TARGET) : $(LDOBJS)
|
||||||
|
$(ECHO_PREFIX) mkdir -p $(dir $@)
|
||||||
$(ECHO_PREFIX) $(CC) -o $@ $^ $(LDFLAGS)
|
$(ECHO_PREFIX) $(CC) -o $@ $^ $(LDFLAGS)
|
||||||
@echo -e $(LINKMSG)
|
@echo -e $(LINKMSG)
|
||||||
$(ECHO_PREFIX) $(STRIP) $@
|
$(ECHO_PREFIX) $(STRIP) $@
|
||||||
|
|
1
bin/.gitignore
vendored
1
bin/.gitignore
vendored
|
@ -1 +0,0 @@
|
||||||
*
|
|
1
build/.gitignore
vendored
1
build/.gitignore
vendored
|
@ -1 +0,0 @@
|
||||||
*
|
|
Loading…
Reference in a new issue