Mercurial > hg > syntilista
comparison Makefile.gen @ 228:37d5f4329449
Implement single running instance check to prevent problems with the SQLite database.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Tue, 20 Mar 2018 13:45:21 +0200 |
parents | c3f47d489097 |
children | e90dba0cd12a |
comparison
equal
deleted
inserted
replaced
227:07e7f254ef16 | 228:37d5f4329449 |
---|---|
23 | 23 |
24 # Application stuff | 24 # Application stuff |
25 APP_SRC=src/ | 25 APP_SRC=src/ |
26 APP_IMG=img/ | 26 APP_IMG=img/ |
27 APP_BIN=$(BINPATH)Syntilista$(EXEEXT) | 27 APP_BIN=$(BINPATH)Syntilista$(EXEEXT) |
28 APP_OBJS=main.o sqlmodels.o printing.o resources.o moc_main.o | 28 APP_OBJS=main.o sqlmodels.o printing.o resources.o moc_main.o runguard.o |
29 APP_VERSION := $(shell cat VERSION) | 29 APP_VERSION := $(shell cat VERSION) |
30 comma:= , | 30 comma:= , |
31 APP_VERSION_COM := $(subst .,$(comma),$(APP_VERSION)) | 31 APP_VERSION_COM := $(subst .,$(comma),$(APP_VERSION)) |
32 CXXFLAGS += -DAPP_VERSION=\"$(APP_VERSION)\" | 32 CXXFLAGS += -DAPP_VERSION=\"$(APP_VERSION)\" |
33 | 33 |