Fix: -j option breaks compilation

This commit is contained in:
Nikita Ivanov 2022-07-06 03:08:26 +05:00
parent 6a8c7d18bf
commit 24bd94a427
No known key found for this signature in database
GPG Key ID: 6E656AC5B97B5133

View File

@ -46,7 +46,10 @@ make_embed:
ctpv: $(OBJ) ctpv: $(OBJ)
$(CC) -o $@ $+ $(LDFLAGS) $(CC) -o $@ $+ $(LDFLAGS)
src/ctpv.c: $(GEN) # Exclicit rules for generated header files
src/ctpv.c: gen/prev/scripts.h
src/shell.c: gen/helpers.h
src/server.c: gen/server.h
gen/prev/scripts.h: $(PRE) embed/embed gen/prev/scripts.h: $(PRE) embed/embed
@mkdir -p $(@D) @mkdir -p $(@D)