diff options
author | Endianness <git@endianness.com> | 2020-08-26 23:29:37 +1000 |
---|---|---|
committer | Endianness <git@endianness.com> | 2020-08-26 23:29:37 +1000 |
commit | b467cf03c0c7aba9cdcd62045c7ed2e0cc897d5e (patch) | |
tree | 4326d6048f62078f8a5d2051326e801285b2bc55 /Makefile | |
download | sleep-sort-b467cf03c0c7aba9cdcd62045c7ed2e0cc897d5e.tar.gz sleep-sort-b467cf03c0c7aba9cdcd62045c7ed2e0cc897d5e.tar.bz2 sleep-sort-b467cf03c0c7aba9cdcd62045c7ed2e0cc897d5e.zip |
initial commit
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..e889a06 --- /dev/null +++ b/Makefile @@ -0,0 +1,13 @@ +CC=gcc +CFLAGS=-O3 -march=native -pipe +LIBS=-lpthread + +OBJ = main.o + +%.o: %.c $(DEPS) + $(CC) -c -o $@ $< $(CFLAGS) $(LIBS) + +out: $(OBJ) + $(CC) -o $@ $^ $(CFLAGS) $(LIBS) +clean: + rm out main.o |