diff options
author | midipix <writeonce@midipix.org> | 2016-04-20 14:01:39 -0400 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2016-04-21 03:04:03 -0400 |
commit | 74af79656c81760bcb27d1795f66529daf41aabe (patch) | |
tree | 3e79d92f3dc120118fb340d661702e18b428e14b | |
parent | 8b78ec06bcd393fb06d5983714e28ae615837338 (diff) | |
download | pemagine-74af79656c81760bcb27d1795f66529daf41aabe.tar.bz2 pemagine-74af79656c81760bcb27d1795f66529daf41aabe.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 2955f8f..470c49c 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): $(LD) -shared -o $@ $^ $(LDFLAGS_SHARED) -$(LIBDIR)/%$(OS_ARCHIVE_EXT): +lib/%$(OS_ARCHIVE_EXT): rm -f $@ $(AR) rcs $@ $^ @@ -141,7 +141,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) \ |