1 2 3 4 5 6 7 8 9 10 11 12 13
CC= g++ CXXFLAGS= -c -std=c++11 -Wall -I/usr/include/SDL/ -I../include -D_LINUX all: objects archive clean objects: $(CC) *.cpp $(CXXFLAGS) archive: $(AR) rcs libsmelt.a *.o clean: if ( test gfx_sdl.o ); then rm *.o; fi clean-all: clean rm *.a