Skip to content

Commit b7a1332

Browse files
committed
Fix dist target
1 parent b0946e7 commit b7a1332

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

Makefile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,9 @@ DIST_ARCHIVE := $(DIST_NAME).$(ARCHIVE_EXTENSION)
5252

5353
all: $(TARGET)
5454

55-
dist: checkdirs $(TARGET) $(DIST_DIR)
55+
dist: test $(DIST_ARCHIVE)
56+
57+
$(DIST_ARCHIVE): $(TARGET) $(DIST_DIR)
5658
cp $(TARGET) $(DIST_DIR)/
5759
$(ARCHIVE_CMD) $(DIST_ARCHIVE) $(DIST_DIR)
5860

@@ -69,7 +71,6 @@ clean:
6971
@rm -f spiffs/*.o
7072
@rm -f $(TARGET)
7173

72-
7374
test: $(TARGET)
7475
ls -1 spiffs > out.list0
7576
./mkspiffs -c spiffs -s 0x80000 -p 512 -b 0x2000 out.spiffs > out.list1

0 commit comments

Comments
 (0)