mirror of
https://github.com/autc04/Retro68.git
synced 2024-11-18 11:08:26 +00:00
16 lines
442 B
Makefile
16 lines
442 B
Makefile
# path to RETRO68
|
|
RETRO68=../../Retro68-build/toolchain
|
|
|
|
PREFIX=$(RETRO68)/m68k-unknown-elf
|
|
CC=$(RETRO68)/bin/m68k-unknown-elf-gcc
|
|
CXX=$(RETRO68)/bin/m68k-unknown-elf-g++
|
|
MAKEAPPL=$(RETRO68)/bin/MakeAPPL
|
|
|
|
LDFLAGS=-lRetroConsole
|
|
|
|
HelloWorld.bin HelloWorld.APPL HelloWorld.dsk: HelloWorld.flt
|
|
$(MAKEAPPL) -c HelloWorld.flt -o HelloWorld
|
|
|
|
HelloWorld.flt: hello.o
|
|
$(CXX) $< -o $@ $(LDFLAGS) # C++ used for linking because RetroConsole needs it
|