mirror of
https://github.com/rodamaral/lsnes.git
synced 2025-04-02 10:42:15 -04:00
18 lines
No EOL
488 B
Makefile
18 lines
No EOL
488 B
Makefile
all: libgambatte.$(ARCHIVE_SUFFIX)
|
|
|
|
REALAR=$(CROSS_PREFIX)ar
|
|
|
|
OBJECTS=$(patsubst %.cpp,%.$(OBJECT_SUFFIX),$(wildcard src/*.cpp src/video/*.cpp src/mem/*.cpp src/sound/*.cpp src/file/file.cpp))
|
|
|
|
%.o: %.cpp
|
|
$(gambatte_compiler) $(CFLAGS) -Wno-deprecated-declarations -DHAVE_CSTDINT -I../common -Iinclude -Isrc -c -o $@ $<
|
|
|
|
libgambatte.$(ARCHIVE_SUFFIX): $(OBJECTS)
|
|
$(REALAR) crvs $@ $^
|
|
$(REALRANLIB) $@
|
|
|
|
clean: forcelook
|
|
rm -f $(OBJECTS) libgambatte.$(ARCHIVE_SUFFIX)
|
|
|
|
forcelook:
|
|
@true
|