2aff4934f8541d4c4bbf8e691d6f77c9a81dccbf
Stefan Schuermans rename "FlexiPix" to "Ether...

Stefan Schuermans authored 7 years ago

1) # EtherPix config file generator
Stefan Schuermans add config file generator

Stefan Schuermans authored 8 years ago

2) #
Stefan Schuermans version update

Stefan Schuermans authored 7 years ago

3) # Copyright 2010-2017 Stefan Schuermans <stefan schuermans info>
Stefan Schuermans add config file generator

Stefan Schuermans authored 8 years ago

4) 
Stefan Schuermans rename "FlexiPix" to "Ether...

Stefan Schuermans authored 7 years ago

5) TARGET := etherpix_config_gen
Stefan Schuermans add config file generator

Stefan Schuermans authored 8 years ago

6) VER := 1
Stefan Schuermans version 1.2.0

Stefan Schuermans authored 7 years ago

7) VERMIN := 2
8) VERREV := 0
Stefan Schuermans add config file generator

Stefan Schuermans authored 8 years ago

9) 
10) SRCS := $(wildcard src/*.cpp)
11) 
12) CPP := g++
13) INSTALL := install
14) 
15) CFLAGS := -W -Wall -O3
Stefan Schuermans rename "FlexiPix" to "Ether...

Stefan Schuermans authored 7 years ago

16) DEFINES := -DETPCG_VER_MAJ=$(VER) -DETPCG_VER_MIN=$(VERMIN) \
17)            -DETPCG_VER_REV=$(VERREV)
Stefan Schuermans add config file generator

Stefan Schuermans authored 8 years ago

18) INCLUDES :=
19) LDFLAGS :=
20) LIBS := -ldime -lm
21) 
22) SRCS_BASE := $(patsubst %.cpp,%,$(SRCS))
23) DEPS := $(addsuffix .d,$(SRCS_BASE))
24) OBJS := $(addsuffix .o,$(SRCS_BASE))
25) TGT := src/$(TARGET)
26) 
27) VERSION := $(VER).$(VERMIN).$(VERREV)
28) 
29) ENV_PREFIX := $(shell echo $$PREFIX)
30) STOW_DIR := /usr/local/stow
Stefan Schuermans rename "FlexiPix" to "Ether...

Stefan Schuermans authored 7 years ago

31) STOW_PREFIX := $(STOW_DIR)/etpConfigGen-$(VERSION)