Skip to content

Commit

Permalink
🔧 Fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
fennecdjay committed Jun 15, 2021
1 parent 710d7ef commit d6e378d
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ CFLAGS += -Wno-pedantic

CFLAGS += -DGWION_BUILTIN

all: options-show ${GWLIBS} src/main.o
all: util/include/generated.h options-show ${GWLIBS} src/main.o
@$(info link ${PRG})
@${CC} src/main.o -o ${PRG} ${LDFLAGS} ${LIBS}

Expand All @@ -73,6 +73,9 @@ lto:
lib${PRG}.a: ${lib_obj}
@${AR} ${AR_OPT}

util/include/generated.h:
@${MAKE} -C util include/generated.h

util/libtermcolor/libtermcolor.a:
@+${MAKE} BUILD_ON_WINDOWS=${BUILD_ON_WINDOWS} -s -C util/libtermcolor static

Expand Down

0 comments on commit d6e378d

Please sign in to comment.