Skip to content

Commit

Permalink
Fixed makefile directory issue
Browse files Browse the repository at this point in the history
  • Loading branch information
besp9510 committed Jan 13, 2020
1 parent 6c46dad commit b73c94c
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -112,4 +113,4 @@ uninstall:
@ldconfig -n $(LIBDESTDIR)

# Non-file targets:
.PHONY: all remake clean install uninstall
.PHONY: all remake clean install uninstall
Empty file modified configure
100644 → 100755
Empty file.
4 changes: 2 additions & 2 deletions test/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@ source: $(TARGET)
directories:
@mkdir -p $(TARGETDIR)
@mkdir -p $(BUILDDIR)
@cp $(ROOT)/../src/* $(SRCDIR)/

# Clean target and object files:
clean:
Expand All @@ -55,6 +54,7 @@ clean:

# Link:
$(TARGET): $(OBJECTS)
@mkdir -p $(TARGETDIR)
$(CC) -o $(TARGETDIR)/$(TARGET) $^ $(LIB) $(CFLAGS) $(LDFLAGS)

# Compile:
Expand All @@ -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
.PHONY: all remake clean library
Empty file modified test/configure
100644 → 100755
Empty file.

0 comments on commit b73c94c

Please sign in to comment.