diff options
author | Dominique Martinet <asmadeus@codewreck.org> | 2017-02-09 13:28:10 +0100 |
---|---|---|
committer | Dominique Martinet <asmadeus@codewreck.org> | 2017-02-09 13:28:10 +0100 |
commit | 671a381abbe3dcb6ccd62a064757c482d135a9cd (patch) | |
tree | 9f2dcc249a9c1121e19fc0d29faedf0f31bae12d | |
parent | 1e6d35562d82a87ada361c6507ad8b614d504281 (diff) |
add Makefile, .gitignore
-rw-r--r-- | .gitignore | 2 | ||||
-rw-r--r-- | Makefile | 11 |
2 files changed, 13 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..582344d --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +tailburst +*.o diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..921e931 --- /dev/null +++ b/Makefile @@ -0,0 +1,11 @@ +SOURCES=tailburst.c +OBJECTS=$(SOURCES:.c=.o) +MAIN=tailburst + +all: $(MAIN) + +$(MAIN): $(OBJECTS) + $(CC) $(LDFLAGS) $< -o $@ + +clean: + rm -f *.o $(MAIN) |