forked from emukidid/xenogcfork
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile-help
44 lines (34 loc) · 1.57 KB
/
Makefile-help
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
###########################################################################################
###########################################################################################
# Makefile Help
###########################################################################################
###########################################################################################
LINE = echo --------------------------------------------
INTRO = @echo;$(LINE);echo XenoGC Makefile Help;$(LINE);echo
USE = @echo Compile Usage: make [ platform ][ options ]
PLATFORM = @echo PLATFORM:;$(LIN);$(WIN)
OPTIONS = @echo OPTIONS:;$(XALL);$(XTRA);$(XSHELL);$(XHEX)
LIN = echo ' linux Linux operating system'
WIN = echo ' windows Windows operating system'
XALL = echo ' -all Make entire source'
XTRA = echo ' -extra Make ALL plus Extra files'
XSHELL = echo ' -shell Make XenoShell only'
XHEX = echo ' -hex Make XenoAT Hex only'
AUSE = @echo;echo;echo;echo AVR Usage: make [ options ]
AOPTIONS = @echo OPTIONS:;$(FLASH);$(READ);$(WRITE)
FLASH = echo ' flash Write Hex to Flash'
READ = echo ' readfuse Read Fuse Settings'
WRITE = echo ' writefuse Write Fuse Settings'
EX = @echo;echo;echo;$(ELIN);$(EWIN);$(EAVR);echo;echo;echo;
ELIN = echo Example: make linux-all
EWIN = echo Example: make windows-hex
EAVR = echo Example: make flash
all: main
main:
$(INTRO)
$(USE)
$(PLATFORM)
$(OPTIONS)
$(AUSE)
$(AOPTIONS)
$(EX)