aboutsummaryrefslogtreecommitdiff
path: root/smelt/sdl/makefile
blob: aa9acb8051e5f0550c3d70d88e2f832d0cb7ca01 (plain) (blame)
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