shithub: rgbds

ref: afe33e116299979632123892f7fe0564a884ee91
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. -I.. -I../../include -g -c -o $@ $<