Skip to content

Commit 3a5a20a

Browse files
committed
Make folder before target is compiled
1 parent b4d855c commit 3a5a20a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ testfiles := $(wildcard tests/*.plt)
2121
all: $(PACKSODIR)/$(LIBNAME).$(LIBEXT)
2222

2323
$(PACKSODIR)/$(LIBNAME).$(LIBEXT): src/$(LIBNAME).o
24+
mkdir -p $(PACKSODIR)
2425
$(CC) -o $@ $< $(LDFLAGS)
2526

2627
%.o: %.c

0 commit comments

Comments
 (0)