Mercurial > wgsdk
comparison Makefile @ 7:be4835547dd0
clean up code, convert git files to hg, etc.
author | Paper |
---|---|
date | Fri, 16 Dec 2022 20:35:06 -0500 |
parents | 712c7fd6702a |
children | 42ac054c0231 |
comparison
equal
deleted
inserted
replaced
6:8ce85aee15c0 | 7:be4835547dd0 |
---|---|
6 CFLAGS += -I"/c/Program Files (x86)/Winamp SDK" | 6 CFLAGS += -I"/c/Program Files (x86)/Winamp SDK" |
7 endif | 7 endif |
8 else | 8 else |
9 CFLAGS += -I"/c/Program Files (x86)/Winamp SDK" | 9 CFLAGS += -I"/c/Program Files (x86)/Winamp SDK" |
10 endif | 10 endif |
11 LDFLAGS=-L"discord_game_sdk/lib/x86" -ldiscord_game_sdk | 11 LDFLAGS=-L"discord_game_sdk/lib/x86" -ldiscord_game_sdk -Wl,--enable-stdcall-fixup |
12 DEPS=src/include/config.h src/include/dirtools.h src/include/main.h \ | 12 DEPS=src/include/config.h src/include/dirtools.h src/include/main.h \ |
13 src/include/timer.h src/include/resource.h | 13 src/include/timer.h src/include/resource.h src/include/utils.h |
14 RC=src/include/dialog.rc | 14 RC=src/include/dialog.rc |
15 OBJ=src/config.o src/dirtools.o src/main.o src/timer.o | 15 OBJ=src/config.o src/dirtools.o src/main.o src/timer.o src/utils.o |
16 | 16 |
17 gen_DiscordGameSDK.dll: $(OBJ) src/include/dialog.o | 17 gen_DiscordGameSDK.dll: $(OBJ) src/include/dialog.o |
18 gcc -o $@ $(CFLAGS) $^ $(LDFLAGS) | 18 gcc -o $@ $(CFLAGS) $^ $(LDFLAGS) |
19 | 19 |
20 src/include/dialog.o: src/include/dialog.rc | 20 src/include/dialog.o: src/include/dialog.rc |