9 include Makefile.sources
11 CFLAG_DEFS=-DPACKAGE=\"$(PACKAGE)\" -DVERSION=\"$(VERSION)\" -DGAMEDATA=\"$(DATADIR)\"
13 DISTFILES=inc data README CHANGELOG LICENSE $(SRCDIR) Makefile.*
20 default: client server
24 server: $(TARGET)-server
27 mkdir -p $(PACKAGE)-$(VERSION)
28 cp -Rt $(PACKAGE)-$(VERSION) $(DISTFILES)
31 tar czf $(PACKAGE)-$(VERSION).tar.gz $(PACKAGE)-$(VERSION)
32 $(RM) -r $(PACKAGE)-$(VERSION)
35 tar cjf $(PACKAGE)-$(VERSION).tar.bz2 $(PACKAGE)-$(VERSION)
36 $(RM) -r $(PACKAGE)-$(VERSION)
38 dist: distclean dist-bz2
49 $(CC) $(TARGET_CFLAGS) $(CFLAG_DEFS) -o $@ -c $<
51 .PHONY: all default client server dist-base dist-gz dist-bz2 dist distclean clean fresh