Merge branch 'rr1-maint'
[lsnes.git] / src / core / Makefile
blobc4e1855250292bbc232902075d8a29977b6c3f2e
1 OBJECTS=$(patsubst %.cpp,%.$(OBJECT_SUFFIX),$(wildcard *.cpp))
3 .PRECIOUS: %.$(OBJECT_SUFFIX) %.files
5 __all__.files: $(OBJECTS)
6 lua ../genfilelist.lua $^ >$@
7 touch __all__.ldflags
9 %.$(OBJECT_SUFFIX): %.cpp
10 $(REALCC) $(CFLAGS) -c -o $@ $< -I../../include
12 precheck:
13 @true
15 clean:
16 rm -f *.$(OBJECT_SUFFIX) __all__.ldflags __all__.files