|
|
|
@ -1,7 +1,7 @@
|
|
|
|
|
VERSION := '"v1.00"'
|
|
|
|
|
VERSION := v1.00
|
|
|
|
|
|
|
|
|
|
CFLAGS := -O2 -pipe -Wall -DVERSION=$(VERSION)
|
|
|
|
|
CXXFLAGS := -O2 -pipe -Wall -Wunused -Wno-deprecated -DVERSION=$(VERSION)
|
|
|
|
|
CFLAGS := -O2 -pipe -Wall -DVERSION='"$(VERSION)"'
|
|
|
|
|
CXXFLAGS := -O2 -pipe -Wall -Wunused -Wno-deprecated -DVERSION='"$(VERSION)"'
|
|
|
|
|
LIBS := -lpthread
|
|
|
|
|
|
|
|
|
|
HLSWMASTER_SRC := config.o gameentry.o gamelist.o gameparser.o gamescanner.o \
|
|
|
|
@ -26,16 +26,17 @@ masterquery: masterquery.o
|
|
|
|
|
|
|
|
|
|
dist: clean |
|
|
|
|
ln -s . hlswmaster-ng
|
|
|
|
|
tar -czhf hlswmaster-ng.tar.gz hlswmaster-ng/ \
|
|
|
|
|
tar -czhf hlswmaster-ng-$(VERSION).tar.gz hlswmaster-ng/ \
|
|
|
|
|
--exclude hlswmaster-ng/.git \
|
|
|
|
|
--exclude hlswmaster-ng/.gitignore \
|
|
|
|
|
--exclude hlswmaster-ng/hlswmaster-ng.tar.gz \
|
|
|
|
|
--exclude hlswmaster-ng/doc \
|
|
|
|
|
--exclude hlswmaster-ng/hlswmaster-ng-$(VERSION).tar.gz \
|
|
|
|
|
--exclude hlswmaster-ng/hlswmaster-ng
|
|
|
|
|
rm hlswmaster-ng
|
|
|
|
|
|
|
|
|
|
clean: |
|
|
|
|
rm -f hlswmaster masterquery *.d *.o *.log \
|
|
|
|
|
hlswmaster-ng hlswmaster-ng.tar.gz
|
|
|
|
|
hlswmaster-ng hlswmaster-ng-$(VERSION).tar.gz
|
|
|
|
|
|
|
|
|
|
##DEPS := $(wildcard *.cpp)
|
|
|
|
|
##-include $(DEPS:.cpp=.d)
|
|
|
|
|