Initial standalone code, some stuff runs
[sdl_omap.git] / src / video / omapdss / Makefile
diff --git a/src/video/omapdss/Makefile b/src/video/omapdss/Makefile
new file mode 100644 (file)
index 0000000..98d7ba0
--- /dev/null
@@ -0,0 +1,15 @@
+CC = $(CROSS_COMPILE)gcc
+AS = $(CROSS_COMPILE)as
+CFLAGS += -Wall -ggdb -O2
+#ASFLAGS = -mcpu=cortex-a8
+
+TARGET = libSDL-1.2.so.0
+OBJS += main.o arm_utils.o linux/fbdev.o
+
+all: $(TARGET)
+
+$(TARGET): $(OBJS)
+       $(CC) -shared -o $@ $^
+
+clean:
+       $(RM) $(TARGET) $(OBJS)