mirror of
https://github.com/Mylloon/obs-replay-folders.git
synced 2025-01-24 07:35:03 +01:00
19 lines
277 B
Makefile
19 lines
277 B
Makefile
|
CC = x86_64-w64-mingw32-gcc
|
||
|
RM = rm
|
||
|
|
||
|
CFLAGS = -shared -lpsapi -luser32
|
||
|
|
||
|
EXES = detect_game
|
||
|
EXT = .dll
|
||
|
|
||
|
all: $(EXES)
|
||
|
|
||
|
$(EXES): %: %.c $(DEPS)
|
||
|
$(CC) $^ -o $@$(EXT) $(CFLAGS)
|
||
|
|
||
|
%.o: %.c
|
||
|
$(CC) -c $< -o $@ $(CFLAGS)
|
||
|
|
||
|
clean:
|
||
|
@$(RM) *.o $(addsuffix $(EXT), $(EXES)) 2>/dev/null |:
|