From 32d9faa16f00ec930a72f5ed2dd0ba00bbfe95ca Mon Sep 17 00:00:00 2001 From: lonkaars Date: Fri, 28 May 2021 20:00:08 +0200 Subject: initial commit --- .gitignore | 2 ++ makefile | 18 ++++++++++++++++++ musicopy.c | 6 ++++++ 3 files changed, 26 insertions(+) create mode 100644 .gitignore create mode 100644 makefile create mode 100644 musicopy.c diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..c107b6e --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +*.o +musicopy diff --git a/makefile b/makefile new file mode 100644 index 0000000..37f7b82 --- /dev/null +++ b/makefile @@ -0,0 +1,18 @@ +CC = gcc +LD = gcc +RM = rm -f +CFLAGS = + +SOURCES := $(wildcard *.c) +OBJECTS := $(patsubst %.c,%.o, $(SOURCES)) + +all: musicopy + +voerbak: $(OBJECTS) + $(CC) $(OBJECTS) -o musicopy + +clean: + $(RM) musicopy + +distclean: clean + $(RM) *.o diff --git a/musicopy.c b/musicopy.c new file mode 100644 index 0000000..29fda6e --- /dev/null +++ b/musicopy.c @@ -0,0 +1,6 @@ +#include + +int main() { + printf("Hello World!\n"); + return 0; +} -- cgit v1.2.3