Add support for wheel mouse
[hex-a-hop.git] / Makefile
blob251affa0bd0bb86bf1909779927c7748f4e378bd
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
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)