mirror of
https://github.com/mupen64plus/mupen64plus-oldsvn.git
synced 2025-04-02 10:52:35 -04:00
27 lines
553 B
Makefile
27 lines
553 B
Makefile
# Makefile for Mupen64
|
|
|
|
# include pre-make file with a bunch of definitions
|
|
include ../pre.mk
|
|
|
|
# local CFLAGS, LIBS, and LDFLAGS
|
|
CFLAGS += -fpic -DPIC
|
|
|
|
# list of object files to generate
|
|
OBJECTS = main.o disasm.o jpeg.o ucode3.o ucode2.o ucode1.o ucode3mp3.o
|
|
|
|
# build targets
|
|
all: mupen64_hle_rsp_azimer.so
|
|
|
|
clean:
|
|
rm -f *.o *.so
|
|
|
|
# build rules
|
|
.c.o:
|
|
$(CC) -o $@ $(CFLAGS) $(GTK_FLAGS) -DUSE_GTK -c $<
|
|
.cpp.o:
|
|
$(CXX) -o $@ $(CFLAGS) -c $<
|
|
|
|
mupen64_hle_rsp_azimer.so: $(OBJECTS)
|
|
$(CXX) $^ $(LDFLAGS) $(PLUGIN_LDFLAGS) $(GTK_LIBS) -o $@
|
|
$(STRIP) $@
|
|
|