aboutsummaryrefslogtreecommitdiffstats
path: root/cube_gl/Makefile
diff options
context:
space:
mode:
authorvg <vgm+dev@devys.org>2020-07-07 16:24:01 +0200
committervg <vgm+dev@devys.org>2020-07-07 16:24:01 +0200
commit66dcf910bd4744d8ced56cb9586aa937a1a2d4c5 (patch)
treedf4dca1ae4af1e5df0be0d1f4f2cd0d54751f8e8 /cube_gl/Makefile
downloadhic-66dcf910bd4744d8ced56cb9586aa937a1a2d4c5.tar.gz
hic-66dcf910bd4744d8ced56cb9586aa937a1a2d4c5.tar.bz2
hic-66dcf910bd4744d8ced56cb9586aa937a1a2d4c5.zip
first commitHEADmaster
Diffstat (limited to 'cube_gl/Makefile')
-rw-r--r--cube_gl/Makefile14
1 files changed, 14 insertions, 0 deletions
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 $@