From c92cd77c516e925c7ec9d4618143234753ecf8e6 Mon Sep 17 00:00:00 2001 From: ValdikSS Date: Thu, 30 Dec 2021 03:45:20 +0300 Subject: [PATCH] Ensure the resource file to be compiled before linking --- src/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Makefile b/src/Makefile index fe03f0e..d6c7829 100644 --- a/src/Makefile +++ b/src/Makefile @@ -33,7 +33,7 @@ endif .PHONY: default all clean -default: manifest $(TARGET) +default: $(TARGET) all: default OBJECTS = $(patsubst %.c, %.o, $(wildcard *.c utils/*.c)) goodbyedpi-rc.o @@ -42,7 +42,7 @@ HEADERS = $(wildcard *.h utils/*.h) %.o: %.c $(HEADERS) $(CC) $(CFLAGS) -c $< -o $@ -manifest: +goodbyedpi-rc.o: $(CCWINDRES) goodbyedpi-rc.rc goodbyedpi-rc.o .PRECIOUS: $(TARGET) $(OBJECTS)