Add KBOOT.
This commit is contained in:
32
apps/elftosb/makefile
Normal file
32
apps/elftosb/makefile
Normal file
@@ -0,0 +1,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:
|
||||
@mkdir -p ${BUILD_DIR};
|
||||
make -C ${BUILD_DIR} -f ${SRC_DIR}/makefile.rules SRC_DIR=${SRC_DIR} $@;
|
||||
Reference in New Issue
Block a user