2
0
mirror of https://frontier.innolan.net/github/amigaos-cross-toolchain6.git synced 2024-10-19 10:29:55 +00:00
Files
amigaos-cross-toolchain6/examples/Makefile
Krystian Bacławski 6f12b7bb88 Add another example.
2014-01-06 15:48:03 +01:00

23 lines
470 B
Makefile

CC = m68k-amigaos-gcc -noixemul -s
CFLAGS = -Os -Wall -fomit-frame-pointer
all: hello hello-mui test-mmu
hello: CC += -fbaserel
hello: CFLAGS += -m68000 -msmall-code
hello: LDLIBS = -lnix13
hello: hello.c
hello-mui: CC += -fbaserel
hello-mui: CFLAGS += -m68020 -msmall-code
hello-mui: LDLIBS = -lmui
hello-mui: hello-mui.c
test-mmu: CC += -fbaserel
test-mmu: CFLAGS += -m68060 -msmall-code
test-mmu: test-mmu.c
clean:
rm -f hello hello-mui test-mmu
rm -f *.o *~