Skip to content

Commit

Permalink
Simplified networking.
Browse files Browse the repository at this point in the history
  • Loading branch information
gabordemooij committed Apr 2, 2024
1 parent 2612821 commit d797031
Show file tree
Hide file tree
Showing 3 changed files with 53 additions and 449 deletions.
2 changes: 1 addition & 1 deletion plugins/media/makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ install-libctrmedia.so: libctrmedia.so
install libctrmedia.so ../../mods/media/

libctrmedia.so: media.o
ld ${LDFLAGS} -lSDL2 -lSDL2_image -lSDL2_ttf -lSDL2_mixer -o libctrmedia.so media.o
ld ${LDFLAGS} -lcurl -lSDL2 -lSDL2_image -lSDL2_ttf -lSDL2_mixer -o libctrmedia.so media.o

media.o:
cc -I . -c media.c -I /usr/include/SDL -I ../../i18n/${ISO} -I i18n/${ISO} -Wall -Werror -fPIC -o media.o
Expand Down
2 changes: 1 addition & 1 deletion plugins/media/makefile.win64
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ install-libctrmedia.dll: libctrmedia.dll
install libctrmedia.dll ../../mods/media/

libctrmedia.dll: media.o
$(CC) ${LDFLAGS} media.o -lws2_32 -lSDL2 -lSDL2_image -lSDL2_mixer -lSDL2_ttf ../../ctr${ISO}import.lib -o libctrmedia.dll
$(CC) ${LDFLAGS} media.o -lcurl -lSDL2 -lSDL2_image -lSDL2_mixer -lSDL2_ttf ../../ctr${ISO}import.lib -o libctrmedia.dll

media.o:
$(CC) ${CFLAGS} -I /usr/x86_64-w64-mingw32/include -I /usr/include/SDL2 -I ../../i18n/${ISO} -I i18n/${ISO} -c media.c -Wall -Werror -fPIC -o media.o
Expand Down
Loading

0 comments on commit d797031

Please sign in to comment.