mirror of
https://github.com/libretro/RetroArch
synced 2025-01-18 13:23:40 +00:00
Update win32 makefile
This commit is contained in:
parent
c5770039cc
commit
1e9decfa5c
@ -38,11 +38,14 @@ LIBS += $(libsnes)
|
||||
|
||||
CFLAGS = -Wall -O3 -std=gnu99 -I.
|
||||
|
||||
all: $(TARGET)
|
||||
all: $(TARGET) ssnes-joyconfig.exe
|
||||
|
||||
$(TARGET): $(OBJ)
|
||||
$(CXX) -o $@ $(OBJ) $(LIBS) $(LDFLAGS)
|
||||
|
||||
ssnes-joyconfig.exe: conf/config_file.o tools/ssnes-joyconfig.o
|
||||
$(CC) -o ssnes-joyconfig.exe $(SDL_LIBS) $(LDFLAGS) conf/config_file.o tools/ssnes-joyconfig.o
|
||||
|
||||
%.o: %.c
|
||||
$(CC) $(CFLAGS) $(DEFINES) -c -o $@ $<
|
||||
|
||||
@ -55,8 +58,10 @@ clean:
|
||||
rm -f hqflt/*.o
|
||||
rm -f hqflt/snes_ntsc/*.o
|
||||
rm -f $(TARGET)
|
||||
rm -f ssnes-joyconfig.exe
|
||||
rm -f tools/*
|
||||
|
||||
dist: all
|
||||
zip -r ssnes-win32.zip $(TARGET) ssnes.cfg snes.dll libxml2.dll iconv.dll zlib1.dll SDL.dll libsamplerate-0.dll
|
||||
zip -r ssnes-win32.zip $(TARGET) ssnes.cfg snes.dll libxml2.dll iconv.dll zlib1.dll SDL.dll libsamplerate-0.dll ssnes-joyconfig.exe
|
||||
|
||||
.PHONY: all install uninstall clean dist
|
||||
|
Loading…
x
Reference in New Issue
Block a user