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