diff options
author | lonkaars <loek@pipeframe.xyz> | 2021-05-28 20:00:08 +0200 |
---|---|---|
committer | lonkaars <loek@pipeframe.xyz> | 2021-05-28 20:00:08 +0200 |
commit | 32d9faa16f00ec930a72f5ed2dd0ba00bbfe95ca (patch) | |
tree | 266536a28a400d18eb336bbd6ccc7241efe6205c |
initial commit
-rw-r--r-- | .gitignore | 2 | ||||
-rw-r--r-- | makefile | 18 | ||||
-rw-r--r-- | musicopy.c | 6 |
3 files changed, 26 insertions, 0 deletions
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 <stdio.h> + +int main() { + printf("Hello World!\n"); + return 0; +} |