X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=Makefile;h=3746100cbe479fdc36c5f6f283e3277114600e9a;hb=34eb947551354f437ed67e2f0a3b88e186f47561;hp=f9484cdf13c1b0c67369f31c76351161c6ad89c8;hpb=731669ecc1eb876e42104a8a4ba49ac00572c020;p=virtualjaguar diff --git a/Makefile b/Makefile index f9484cd..3746100 100644 --- a/Makefile +++ b/Makefile @@ -51,13 +51,16 @@ TARGET = vj # Note that we use optimization level 2 instead of 3--3 doesn't seem to gain much over 2 CFLAGS = -MMD -Wall -Wno-switch -O2 -D$(SYSTYPE) -ffast-math -fomit-frame-pointer `sdl-config --cflags` CPPFLAGS = -MMD -Wall -Wno-switch -Wno-non-virtual-dtor -O2 -D$(SYSTYPE) \ - -ffast-math -fomit-frame-pointer `sdl-config --cflags` -g + -DHAVE_LIB_CDIO -ffast-math -fomit-frame-pointer `sdl-config --cflags` -g # -fomit-frame-pointer `sdl-config --cflags` -g # -fomit-frame-pointer `sdl-config --cflags` -DLOG_UNMAPPED_MEMORY_ACCESSES LDFLAGS = LIBS = -L/usr/local/lib -L/usr/lib `sdl-config $(SDLLIBTYPE)` -lstdc++ -lz $(GLLIB) -lcdio +# Comment out the above and uncomment below if you don't have libcdio. +# Also, remove the "-DHAVE_LIB_CDIO" from CPPFLAGS above. +#LIBS = -L/usr/local/lib -L/usr/lib `sdl-config $(SDLLIBTYPE)` -lstdc++ -lz $(GLLIB) INCS = -I. -I./src -I/usr/local/include -I/usr/include @@ -116,6 +119,7 @@ ifeq "" "$(shell which sdl-config)" else @echo "OK" endif +# !!! NOTE !!! Need to put a check here for libcdio, GL, etc. message: @echo