auto-obs-rb-restart/Makefile
Mylloon ab30967e41
Some checks failed
Upload release / build (push) Failing after 2s
first release
2024-10-07 20:23:21 +02:00

20 lines
293 B
Makefile

CC = x86_64-w64-mingw32-gcc
STRIP = strip -s
RM = rm
CFLAGS = -shared -O3
SRC = monitor
EXT = .dll
all: $(SRC)
$(SRC): %: %.c $(DEPS)
$(CC) $^ -o $@$(EXT) $(CFLAGS)
$(STRIP) $@$(EXT)
%.o: %.c
$(CC) -c $< -o $@ $(CFLAGS)
clean:
@$(RM) $(addsuffix $(EXT), $(SRC)) 2>/dev/null |: