From ccc1dd7b4ba8ad5efe51aac32b26f0859d93fbe5 Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Mon, 5 Apr 2021 19:37:28 +0200 Subject: Restructured make layout and cleaned some apps --- apps/test/Makefile | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 apps/test/Makefile (limited to 'apps/test/Makefile') diff --git a/apps/test/Makefile b/apps/test/Makefile new file mode 100644 index 0000000..7959154 --- /dev/null +++ b/apps/test/Makefile @@ -0,0 +1,12 @@ +# MIT License, Copyright (c) 2021 Marvin Borner + +OBJS = test.o + +all: $(OBJS) + @$(LD) -o $(BUILD)/apps/test $(LDFLAGS) $< -lc + +clean: + @$(RM) -f $(OBJS) + +%.o: %.c + @$(CC) -c $(CFLAGS) $< -o $@ -- cgit v1.2.3