cmdline: new build system
[libcmdline.git] / build / trivial_rdline / Makefile
diff --git a/build/trivial_rdline/Makefile b/build/trivial_rdline/Makefile
deleted file mode 100755 (executable)
index 73aec4a..0000000
+++ /dev/null
@@ -1,17 +0,0 @@
-SRC = main.c
-
-OBJS = $(SRC:%.c=%.o)
-
-PROG = trivial_rdline
-LDLIB = ../lib/libcmdline.a
-
-all: $(PROG)
-
-clean:
-       rm -f $(PROG) $(OBJS)
-
-$(PROG): $(OBJS) $(LDLIB)
-       $(CC) $(LDFLAGS) -o $@ $(OBJS) $(LDLIB)
-
-%.o: %.c
-       $(CC) $(CFLAGS) -c $< -o $@