aboutsummaryrefslogtreecommitdiffstats
path: root/splash/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'splash/Makefile')
-rw-r--r--splash/Makefile24
1 files changed, 24 insertions, 0 deletions
diff --git a/splash/Makefile b/splash/Makefile
new file mode 100644
index 0000000..76ff7a4
--- /dev/null
+++ b/splash/Makefile
@@ -0,0 +1,24 @@
+CC = gcc
+PROGRAMS = splash
+
+CFLAGS = -Os -Wall
+# CFLAGS := $(CFLAGS) -DFBMNGDEBUG
+
+bindir = $(prefix)/sbin
+
+all: $(PROGRAMS)
+ strip $(PROGRAMS)
+
+.SUFFIXES:
+.SUFFIXES: .c .o
+
+mostlyclean:
+ -rm -f *.o core
+
+install:
+ install -m755 splash $(bindir)
+
+clean: mostlyclean
+ -rm -f splash
+
+.PHONY: mostlyclean clean all