-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathMakefile
More file actions
25 lines (18 loc) · 738 Bytes
/
Makefile
File metadata and controls
25 lines (18 loc) · 738 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
PRJ_NAME := fix50
PRJ_BRANCH := 1.0
PRJ_VERSION := $(PRJ_BRANCH).0
PRJ_TYPE := lib
-include ../../../makefile/Makefile
../../../makefile/Makefile:
@echo "cloning makefile..."
@cd ../../..; git clone https://github.com/sashamakarenko/makefile.git makefile
ifneq ($(MAKECMDGOALS),clean)
-include build/fixgenerated.mk
build/fixgenerated.mk: src/$(PRJ_NAME)/FixApi.h
$(V)mkdir -p $(@D)
$(V)touch $@
src/$(PRJ_NAME)/FixApi.h: $(wildcard ../spec/fix50/*.def) $(wildcard ../../src/*.h) $(wildcard ../../src/*.cpp) $(wildcard ../../src/*.pp) ../../generate.sh
$(V)../../generate.sh --clean-fields -d $$PWD/src/$(PRJ_NAME) -s $$PWD/../spec/fix50 -i $(PRJ_NAME) -n $(PRJ_NAME) -p $$PWD/src/gdb
endif
clean::
$(V)rm -rf src/gdb