summaryrefslogtreecommitdiffstats
path: root/mig_test/software/libhal/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'mig_test/software/libhal/Makefile')
-rw-r--r--mig_test/software/libhal/Makefile31
1 files changed, 31 insertions, 0 deletions
diff --git a/mig_test/software/libhal/Makefile b/mig_test/software/libhal/Makefile
new file mode 100644
index 0000000..fe149c1
--- /dev/null
+++ b/mig_test/software/libhal/Makefile
@@ -0,0 +1,31 @@
+#
+# $HeadURL: https://svn.fzd.de/repo/concast/FWF_Projects/FWKE/hw_sp605/bsp_zpuahb/software/libhal/Makefile $
+# $Date$
+# $Author$
+# $Revision$
+#
+
+DIR=..
+include include.mak
+
+
+C_FILES=hw.c common.c timer.c uart.c vga.c
+OBJECTS=hw.o common.o timer.o uart.o vga.o
+INCLUDES=../include/peripherie.h
+
+
+all: libhal.a
+
+
+libhal.a: $(OBJECTS) $(INCLUDES)
+ $(AR) clr libhal.a $(OBJECTS)
+ $(RANLIB) libhal.a
+
+
+%.o: %.c $(INCLUDES)
+ $(CC) -c -o $@ $< $(CFLAGS)
+
+
+clean:
+ rm -f *.o
+ rm -f libhal.a
OpenPOWER on IntegriCloud