diff options
author | Peter Maydell <peter.maydell@linaro.org> | 2010-09-20 18:41:19 +0100 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2010-09-20 18:46:37 +0100 |
commit | 452057e1b7fc91bfa3ee06e5a71c3d13d2711b6b (patch) | |
tree | 00e3b1212be8cda04d39bd7b4802d5d6c60cfef2 /Makefile | |
parent | 403892c49503b5939689dc7793ca413bbdd4ba37 (diff) |
Add the initial structure of SIGILL handling and CPU-specific interface.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 11 |
1 files changed, 9 insertions, 2 deletions
@@ -1,10 +1,17 @@ # trivial makefile for now +ARCH=$(shell dpkg-architecture -qDEB_HOST_ARCH_CPU) + PROG=risu -SRCS=risu.c +SRCS=risu.c risu_$(ARCH).c +HDRS=risu.h OBJS=$(SRCS:.c=.o) -$(PROG): $(SRCS) + +$(PROG): $(OBJS) $(CC) -g -Wall -Werror -o $@ $^ +%.o: %.c $(HDRS) + $(CC) -g -Wall -Werror -o $@ -c $< + clean: rm -f $(PROG) $(OBJS) |