# Makefile for Panex puzzle.
#	$Revision: 1.1 $
#	$Date: 2004/11/18 23:45:47 $
#-----------------------------------------------------------------------------

WHAT=panex
OBJS=$(WHAT:=.o) \
	game.o \
	solution.o \
	puzzle.o

HDR=$(WHAT:=.h)
SRC=$(OBJS:.o=.c) $(HDR)

RELSTRING=2.2
TIMESTAMP=2004/11/18 23:46:27
CFLAGS += -DRELSTRING="\"$(RELSTRING)\"" -DRELDATE="\"$(TIMESTAMP)\""
LDLIBS += -lcurses

all: $(WHAT)

.PHONY: all debug src clean

debug: CFLAGS += -g

debug: $(WHAT)

$(WHAT): $(OBJS)

$(OBJS): $(HDR)

src: tags

tags: $(SRC)
	ctags $(SRC)

clean:
	rm -f tags
	rm -f $(OBJS)


Last updated: Saturday, August 01, 2009 11:49:29 PM