mirror of
https://github.com/cc65/cc65.git
synced 2025-01-26 17:36:57 +00:00
Allow to build just the binaries or just the libraries from the top level Makefile.
This commit is contained in:
parent
5ddf9e0878
commit
969c3b7488
7
Makefile
7
Makefile
@ -2,15 +2,18 @@ all mostlyclean clean:
|
||||
@$(MAKE) -C src --no-print-directory $@
|
||||
@$(MAKE) -C libsrc --no-print-directory $@
|
||||
|
||||
install uninstall:
|
||||
install uninstall bin:
|
||||
@$(MAKE) -C src --no-print-directory $@
|
||||
|
||||
lib:
|
||||
@$(MAKE) -C libsrc --no-print-directory $@
|
||||
|
||||
%65:
|
||||
@$(MAKE) -C src --no-print-directory $@
|
||||
|
||||
%:
|
||||
@$(MAKE) -C libsrc --no-print-directory $@
|
||||
|
||||
.PHONY: all mostlyclean clean install uninstall
|
||||
.PHONY: all mostlyclean clean install uninstall bin lib
|
||||
|
||||
.SUFFIXES:
|
||||
|
@ -47,11 +47,11 @@ endif
|
||||
|
||||
.SUFFIXES:
|
||||
|
||||
.PHONY: all $(TARGETS) mostlyclean clean
|
||||
.PHONY: all lib $(TARGETS) mostlyclean clean
|
||||
|
||||
ifndef TARGET
|
||||
|
||||
all: $(TARGETS)
|
||||
all lib: $(TARGETS)
|
||||
|
||||
$(TARGETS):
|
||||
@$(MAKE) --no-print-directory $@
|
||||
|
@ -26,9 +26,9 @@ LDLIBS += -lm
|
||||
|
||||
.SUFFIXES:
|
||||
|
||||
.PHONY: all $(PROGS) mostlyclean clean install uninstall
|
||||
.PHONY: all bin $(PROGS) mostlyclean clean install uninstall
|
||||
|
||||
all: $(PROGS)
|
||||
all bin: $(PROGS)
|
||||
|
||||
mostlyclean:
|
||||
$(RM) -r ../wrk
|
||||
@ -107,9 +107,9 @@ else # cmd.exe
|
||||
|
||||
.SUFFIXES:
|
||||
|
||||
.PHONY: all mostlyclean clean
|
||||
.PHONY: all bin mostlyclean clean
|
||||
|
||||
all:
|
||||
all bin:
|
||||
msbuild cc65.sln /p:configuration=release /consoleloggerparameters:disableconsolecolor
|
||||
|
||||
mostlyclean:
|
||||
|
Loading…
x
Reference in New Issue
Block a user