shithub: rgbds

ref: 3ce06cd42417862d69f1df3b914aba5a09eddd72
dir: /src/link/Makefile/

View raw version
obj := \
	assign.o \
	library.o \
	main.o \
	mapfile.o \
	object.o \
	output.o \
	patch.o \
	symbol.o

all: xlink

clean:
	rm -rf xlink $(obj)

xlink: $(obj)
	gcc -Wall -o $@ $^

.c.o:
	gcc -Wall -I../../include -g -c -o $@ $<