amiga_boottest
diff Makefile @ 1:48093e4bd99a
stuff
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Wed, 21 Feb 2018 18:00:45 +0200 |
parents | 51422ea54b9d |
children | 58ebd84822e7 |
line diff
1.1 --- a/Makefile Wed Feb 21 12:00:13 2018 +0200 1.2 +++ b/Makefile Wed Feb 21 18:00:45 2018 +0200 1.3 @@ -1,5 +1,6 @@ 1.4 +src = $(wildcard src/*.c) 1.5 asrc = $(wildcard src/*.s) 1.6 -obj = $(asrc:.s=.o) 1.7 +obj = $(src:.c=.o) $(asrc:.s=.o) 1.8 1.9 name = test 1.10 elf = $(name).elf 1.11 @@ -15,6 +16,7 @@ 1.12 OBJCOPY = $(tool_prefix)objcopy 1.13 1.14 ASFLAGS = -m68000 1.15 +CFLAGS = -m68000 -pedantic -Wall 1.16 LDFLAGS = -T amiga.ld -print-gc-sections \ 1.17 -L/usr/lib/gcc-cross/m68k-linux-gnu/6 -lgcc 1.18