diff options
author | midipix <writeonce@midipix.org> | 2016-04-20 13:52:18 -0400 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2016-04-20 13:59:07 -0400 |
commit | 7e4a8752b86842b50d715c62fa168962fb29d8be (patch) | |
tree | 0d21508652e3ebc3dd579e6c724bf7f1d3c88e3f | |
parent | 25735887c1961e03f57a2745aba40e4d38a7d4ab (diff) | |
download | dalist-7e4a8752b86842b50d715c62fa168962fb29d8be.tar.bz2 dalist-7e4a8752b86842b50d715c62fa168962fb29d8be.tar.xz |
build system: remove erroneous build-time references to LIBDIR.
-rw-r--r-- | Makefile.in | 10 | ||||
-rw-r--r-- | project/defs.mk | 6 |
2 files changed, 8 insertions, 8 deletions
diff --git a/Makefile.in b/Makefile.in index 92972b0..c18a158 100644 --- a/Makefile.in +++ b/Makefile.in @@ -74,16 +74,16 @@ include $(PROJECT_DIR)/project/overrides.mk -src/%.lo: $(PROJECT_DIR)/src/%.c $(ALL_HEADERS) host.tag tree.tag +src/%.lo: $(PROJECT_DIR)/src/%.c $(ALL_HEADERS) host.tag dirs.tag $(CC) -c -o $@ $< $(CFLAGS_SHARED) -src/%.o: $(PROJECT_DIR)/src/%.c $(ALL_HEADERS) host.tag tree.tag +src/%.o: $(PROJECT_DIR)/src/%.c $(ALL_HEADERS) host.tag dirs.tag $(CC) -c -o $@ $< $(CFLAGS_STATIC) -$(LIBDIR)/%$(OS_LIB_SUFFIX): +lib/%$(OS_LIB_SUFFIX): $(CC) -shared -o $@ $^ $(LDFLAGS_SHARED) -$(LIBDIR)/%$(OS_ARCHIVE_EXT): +lib/%$(OS_ARCHIVE_EXT): rm -f $@ $(AR) rcs $@ $^ @@ -136,7 +136,7 @@ $(STATIC_LIB): $(STATIC_OBJS) dirs: dirs.tag tree.tag dirs.tag: - mkdir -p $(LIBDIR) + mkdir -p lib touch dirs.tag host.tag: Makefile diff --git a/project/defs.mk b/project/defs.mk index 1f352be..b91ed07 100644 --- a/project/defs.mk +++ b/project/defs.mk @@ -11,9 +11,9 @@ ARCH_OBJS = $(ARCH_SRCS:.c=.o) SHARED_OBJS = $(COMMON_LOBJS) $(ARCH_LOBJS) STATIC_OBJS = $(COMMON_OBJS) $(ARCH_OBJS) -SHARED_LIB = $(LIBDIR)/$(OS_LIB_PREFIX)$(PACKAGE)$(OS_LIB_SUFFIX) -STATIC_LIB = $(LIBDIR)/$(OS_LIB_PREFIX)$(PACKAGE)$(OS_ARCHIVE_EXT) -SHARED_IMPLIB = $(LIBDIR)/$(OS_LIB_PREFIX)$(PACKAGE)$(OS_IMPLIB_EXT) +SHARED_LIB = lib/$(OS_LIB_PREFIX)$(PACKAGE)$(OS_LIB_SUFFIX) +STATIC_LIB = lib/$(OS_LIB_PREFIX)$(PACKAGE)$(OS_ARCHIVE_EXT) +SHARED_IMPLIB = lib/$(OS_LIB_PREFIX)$(PACKAGE)$(OS_IMPLIB_EXT) CFLAGS = $(CFLAGS_DEBUG) $(CFLAGS_CONFIG) $(CFLAGS_SYSROOT) \ $(CFLAGS_COMMON) $(CFLAGS_CMDLINE) $(CFLAGS_HOST) \ |