summaryrefslogtreecommitdiffstats
path: root/qemu/roms/openbios/utils/ofclient/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'qemu/roms/openbios/utils/ofclient/Makefile')
-rw-r--r--qemu/roms/openbios/utils/ofclient/Makefile14
1 files changed, 14 insertions, 0 deletions
diff --git a/qemu/roms/openbios/utils/ofclient/Makefile b/qemu/roms/openbios/utils/ofclient/Makefile
new file mode 100644
index 000000000..f3c515964
--- /dev/null
+++ b/qemu/roms/openbios/utils/ofclient/Makefile
@@ -0,0 +1,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