mirror of
https://github.com/ValdikSS/GoodbyeDPI.git
synced 2025-12-18 13:24:36 +03:00
Ensure the resource file to be compiled before linking
This commit is contained in:
@@ -33,7 +33,7 @@ endif
|
|||||||
|
|
||||||
.PHONY: default all clean
|
.PHONY: default all clean
|
||||||
|
|
||||||
default: manifest $(TARGET)
|
default: $(TARGET)
|
||||||
all: default
|
all: default
|
||||||
|
|
||||||
OBJECTS = $(patsubst %.c, %.o, $(wildcard *.c utils/*.c)) goodbyedpi-rc.o
|
OBJECTS = $(patsubst %.c, %.o, $(wildcard *.c utils/*.c)) goodbyedpi-rc.o
|
||||||
@@ -42,7 +42,7 @@ HEADERS = $(wildcard *.h utils/*.h)
|
|||||||
%.o: %.c $(HEADERS)
|
%.o: %.c $(HEADERS)
|
||||||
$(CC) $(CFLAGS) -c $< -o $@
|
$(CC) $(CFLAGS) -c $< -o $@
|
||||||
|
|
||||||
manifest:
|
goodbyedpi-rc.o:
|
||||||
$(CCWINDRES) goodbyedpi-rc.rc goodbyedpi-rc.o
|
$(CCWINDRES) goodbyedpi-rc.rc goodbyedpi-rc.o
|
||||||
|
|
||||||
.PRECIOUS: $(TARGET) $(OBJECTS)
|
.PRECIOUS: $(TARGET) $(OBJECTS)
|
||||||
|
|||||||
Reference in New Issue
Block a user