Gettextize program so that it can be translated to other languages
[hex-a-hop.git] / Makefile
blobee3d815094209b521eae2d74f14a71b0847fbc5a
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` -lm \
20 -o $(NAME)
22 clean :
23 rm -f *~ $(OBJS) $(NAME)