Added files with translations to several languages:
[hex-a-hop.git] / Makefile
blob12b5a08a56df3e271c1062c2d6df80a2f35855e4
1 # Makefile for Hex-a-hop, Copyright Oliver Pearce 2004
2 NAME = Hex-a-hop
3 VERSION = 1.0.0
4 CC = gcc
5 CXXFLAGS += -D_VERSION=\"$(VERSION)\" -g
6 GCC =g++
7 CXXSOURCES = gfx.cpp hex_puzzzle.cpp i18n.cpp
8 #INCLUDES =
11 #############################################################
13 OBJS=$(CXXSOURCES:.cpp=.o)
15 %.o : %.cpp
16 $(GCC) $(CXXFLAGS) `sdl-config --cflags` -c -o $@ $<
18 $(NAME) : $(OBJS)
19 $(GCC) $(CXXFLAGS) $(OBJS) `sdl-config --libs` -lSDL_Pango -lm \
20 -o $(NAME)
22 clean :
23 rm -f *~ $(OBJS) $(NAME)