blob: 7c21b7069a072f58fe86fbef0f3ba7d146a612ce (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
CFLAGS=`pkg-config glu --cflags` `sdl-config --cflags` -lglut -ansi -Wall -m32
LIBS=`pkg-config glu --libs` `sdl-config --libs`
OBJS=ledcube.o effect.o font.o
%.o:%.cpp
g++ $(CFLAGS) -o $@ -c $<
all: ledcube
clean:
rm -f ledcube $(OBJS)
ledcube: $(OBJS)
g++ $(CFLAGS) $(LIBS) $(OBJS) -o $@
|