-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMake.header
58 lines (40 loc) · 1.29 KB
/
Make.header
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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
# To use this file, first run "makemake" and then run "make".
# (makemake is part of the JX distribution)
ifndef JX_ROOT
ifneq ($(shell ls ../JX/Makefile 2>/dev/null),)
JX_ROOT := ../JX
else ifeq ($(shell uname -o),Darwin)
JX_ROOT := $(shell brew --prefix)
else
JX_ROOT := /usr/local
endif
endif
APP_NAME := systemg
REPO_NAME := system-g
FORGE_NAME := nps-systemg
MAKE_INCLUDE := ${JX_ROOT}/include/jx-af/make
include ${MAKE_INCLUDE}/jx_config
include ${MAKE_INCLUDE}/jfs_constants
SEARCHDIRS := -I./image-build ${SEARCHDIRS}
# makemake variables
DEPENDFLAGS := ${J_DEPEND_FLAGS} ${SEARCHDIRS} \
-DSYSTEM_G
ifdef SNAPCRAFT_BUILD_ENVIRONMENT
DEPENDFLAGS += -D_J_SNAP
endif
# library dependencies
LIB_DEPS := ${JX_LIB_ROOT}/libjfs.a \
${JX_LIB_ROOT}/libjx.a \
${JX_LIB_ROOT}/libjcore.a
# make variables
LDLIBS := ${J_STD_LIBS}
#####
EXTRA_MENU_STRING_FILES := \
${JX_INCLUDE_ROOT}/jx-af/jfs/*.cpp
include ${MAKE_INCLUDE}/app_targets
# DO NOT DELETE THIS LINE -- Code Crusader depends on it.
# This portion of the file was automatically generated by Code Crusader.
# Do not edit it directly!
# Any changes you make will be silently overwritten.
# build libraries before main result
# DO NOT DELETE THIS LINE -- Code Crusader depends on it.