summaryrefslogtreecommitdiff
path: root/common/Makefile
diff options
context:
space:
mode:
authorGuido Guenther <agx@sigxcpu.org>2006-11-18 23:48:07 +0100
committerGuido Guenther <agx@bogon.sigxcpu.org>2006-11-18 23:48:07 +0100
commitd1e063beb43e595680c65e3804d1f8ddff53373b (patch)
treef7256dfe1b807920270ec5113df6f6e4abf1ed0f /common/Makefile
Imported Debian version 0.3.8.80.3.8.8
Diffstat (limited to 'common/Makefile')
-rw-r--r--common/Makefile16
1 files changed, 16 insertions, 0 deletions
diff --git a/common/Makefile b/common/Makefile
new file mode 100644
index 0000000..2f160e3
--- /dev/null
+++ b/common/Makefile
@@ -0,0 +1,16 @@
+SUBARCH ?= IP22
+
+CFLAGS += -Wall -O2 -I. -I../arclib -DSUBARCH=${SUBARCH}
+
+HOSTCC = $(CC)
+HOSTCFLAGS += -Wall -O2 -DSUBARCH=$(SUBARCH)
+
+all: print_loadaddr
+
+print_loadaddr: print_loadaddr.c subarch.h version.h
+ $(HOSTCC) $(HOSTCFLAGS) -o $@ $<
+
+install: print_loadaddr
+
+clean:
+ rm -f print_loadaddr *~ tags