# $NetBSD: Makefile,v 1.4.4.1 2023/06/03 15:04:06 martin Exp $ # Set sdkprefix to your gcc-amiga toolchain as needed. TARGET = loadbsd sdkprefix = CC = $(sdkprefix)gcc CFLAGS = -D_STANDALONE -DNO_MID_CHECK -I./include -Os -fomit-frame-pointer -msmall-code -m68020 AS = $(sdkprefix)as ASFLAGS = #LDFLAGS = -noixemul LDFLAGS = -mcrt=nix20 LDLIBS = OBJS = loadbsd.o startit.o loadfile.o loadfile_aout.o loadfile_elf32.o $(TARGET): $(OBJS) $(CC) $(LDFLAGS) -o $@ $(OBJS) $(LDLIBS)