From b73c94caf740bed87fed8b3ba452446b33b302b5 Mon Sep 17 00:00:00 2001 From: Benjamin Spencer Date: Mon, 13 Jan 2020 05:01:25 +0000 Subject: [PATCH] Fixed makefile directory issue --- Makefile.in | 3 ++- configure | 0 test/Makefile.in | 4 ++-- test/configure | 0 4 files changed, 4 insertions(+), 3 deletions(-) mode change 100644 => 100755 configure mode change 100644 => 100755 test/configure diff --git a/Makefile.in b/Makefile.in index b7eac73..b5bd034 100644 --- a/Makefile.in +++ b/Makefile.in @@ -67,6 +67,7 @@ clean: # Link: $(TARGET).$(CUR).$(REV).$(AGE): $(OBJECTS) + @mkdir -p $(TARGETDIR) $(CC) -o $(TARGETDIR)/$(TARGET).$(CUR).$(REV).$(AGE) $^ $(LIB) $(CFLAGS) $(LDFLAGS) # Compile: @@ -112,4 +113,4 @@ uninstall: @ldconfig -n $(LIBDESTDIR) # Non-file targets: -.PHONY: all remake clean install uninstall \ No newline at end of file +.PHONY: all remake clean install uninstall diff --git a/configure b/configure old mode 100644 new mode 100755 diff --git a/test/Makefile.in b/test/Makefile.in index 5b9b465..4c4ec0b 100644 --- a/test/Makefile.in +++ b/test/Makefile.in @@ -44,7 +44,6 @@ source: $(TARGET) directories: @mkdir -p $(TARGETDIR) @mkdir -p $(BUILDDIR) - @cp $(ROOT)/../src/* $(SRCDIR)/ # Clean target and object files: clean: @@ -55,6 +54,7 @@ clean: # Link: $(TARGET): $(OBJECTS) + @mkdir -p $(TARGETDIR) $(CC) -o $(TARGETDIR)/$(TARGET) $^ $(LIB) $(CFLAGS) $(LDFLAGS) # Compile: @@ -75,4 +75,4 @@ library: gcc -Wall $(DEBUG_SYM) $(LIBDIR) -o $(TARGETDIR)/$(TARGET) $(SRCDIR)/$(TARGET).$(SRCEXT) -ldmapwm # Non-file targets: -.PHONY: all remake clean library \ No newline at end of file +.PHONY: all remake clean library diff --git a/test/configure b/test/configure old mode 100644 new mode 100755