diff --git a/aegisub/Makefile.target b/aegisub/Makefile.target index 0c95216e1..9794febdd 100644 --- a/aegisub/Makefile.target +++ b/aegisub/Makefile.target @@ -4,9 +4,13 @@ # * Allow variables to be overridden on the CL. .PHONY: all install clean subdirs $(SUBDIRS) -all: subdirs $(LIB) $(LIB_SHARED) $(PROGRAM) +all: subdirs $(PROGRAM) .DEFAULT_GOAL := all +ifneq (no, $(BUILD_LIB)) +all: $(LIB) $(LIB_SHARED) +endif + OBJ = $(addsuffix .o, $(basename $(SRC))) DEP = $(addsuffix .d, $(basename $(SRC))) diff --git a/aegisub/automation/Makefile b/aegisub/automation/Makefile index 15b44658d..50cc2c8b1 100644 --- a/aegisub/automation/Makefile +++ b/aegisub/automation/Makefile @@ -2,6 +2,7 @@ include ../Makefile.inc LIB_SHARED = aegisub.so LIB_VERSION = 0.1.0 +BUILD_LIB = no CXXFLAGS += -I../libaegisub/include -I../src $(CXXFLAGS_WX) CPPFLAGS += $(CPPFLAGS_BOOST)