From 66dcf910bd4744d8ced56cb9586aa937a1a2d4c5 Mon Sep 17 00:00:00 2001 From: vg Date: Tue, 7 Jul 2020 16:24:01 +0200 Subject: first commit --- cube_gl/Makefile | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 cube_gl/Makefile (limited to 'cube_gl/Makefile') diff --git a/cube_gl/Makefile b/cube_gl/Makefile new file mode 100644 index 0000000..7c21b70 --- /dev/null +++ b/cube_gl/Makefile @@ -0,0 +1,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 $@ -- cgit v1.2.3