blob: a98e71b4a250232999240a69318fae7833205650 (
plain)
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
|
#*******************************************************************************
# makefile
# Description:
# gnu make makefile for elftosb executable
#*******************************************************************************
# Environment
# UNAMES is going to be set to either "Linux" or "CYGWIN_NT-5.1"
UNAMES = $(shell uname -s)
ifeq ("${UNAMES}", "Linux")
SRC_DIR = $(shell pwd)
BUILD_DIR = bld/linux
else
ifeq ("${UNAMES}", "CYGWIN_NT-5.1")
SRC_DIR = $(shell pwd)
BUILD_DIR = bld/cygwin
endif
endif
#*******************************************************************************
# Targets
all clean elftosb sbtool keygen:
@mkdir -p ${BUILD_DIR};
make -C ${BUILD_DIR} -f ${SRC_DIR}/makefile.rules SRC_DIR=${SRC_DIR} $@;
|