[859de8]: src / ostools.mk Maximize Restore History

Download this file

ostools.mk    27 lines (24 with data), 370 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
26
#This file produces system and environment dependent tools for working with files
#It sets the following variables
#
# RM
# CP
ifeq ($(OS),Windows_NT)
RM = del /Q /F
CP = copy /Y
PS2 = \\
PS = $(strip $(PS2))
ifdef ComSpec
SHELL := $(ComSpec)
endif
ifdef COMSPEC
SHELL := $(COMSPEC)
endif
CC = gcc
else
#If not on Windows
RM = rm -rf
CP = cp -f
PS = /
endif
CC=gcc