summaryrefslogtreecommitdiffstats
path: root/qemu/roms/openbios/utils/ofclient/Makefile
blob: f3c515964f45026f00d3b75b1202345679c07879 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
PROGRAM := ofclient
OBJECTS := of1275.o of1275_io.o ofclient.o 
CC      := gcc 
CFLAGS  := -m32 -fpic -fno-builtin-strlen -Os
LDFLAGS := -melf_i386 -s -N -Ttext 0x200000 -e _start

$(PROGRAM): $(OBJECTS)
	$(LD) $(LDFLAGS) -Map $(PROGRAM).map -o $(PROGRAM) $(OBJECTS)

clean:
	rm -f $(OBJECTS)

distclean: clean
	rm -f $(PROGRAM) $(PROGRAM).map