summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorrofl0r <retnyg@gmx.net>2013-02-06 02:11:49 +0100
committerrofl0r <retnyg@gmx.net>2013-02-06 02:40:22 +0100
commit158f721adc851850f22f789ad672deb6b88d511d (patch)
treec50663291e29989fd190516624f8d76159c6a8af /Makefile
parenta8799356d560d3b02a19a4bda4a638a4a9a80856 (diff)
downloadmusl-158f721adc851850f22f789ad672deb6b88d511d.tar.gz
musl-158f721adc851850f22f789ad672deb6b88d511d.tar.bz2
musl-158f721adc851850f22f789ad672deb6b88d511d.tar.xz
musl-158f721adc851850f22f789ad672deb6b88d511d.zip
Makefile: make it possible to build arch specific C files
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 3c55c8f2..cc4faefd 100644
--- a/Makefile
+++ b/Makefile
@@ -16,7 +16,7 @@ includedir = $(prefix)/include
libdir = $(prefix)/lib
syslibdir = /lib
-SRCS = $(sort $(wildcard src/*/*.c))
+SRCS = $(sort $(wildcard src/*/*.c arch/$(ARCH)/src/*.c))
OBJS = $(SRCS:.c=.o)
LOBJS = $(OBJS:.o=.lo)
GENH = include/bits/alltypes.h