diff options
author | justanothercatgirl <sotov2070@gmail.com> | 2024-10-17 17:38:07 +0300 |
---|---|---|
committer | justanothercatgirl <sotov2070@gmail.com> | 2024-10-17 17:38:07 +0300 |
commit | 82ec99f51b2b3b7a7b36b43b22df07ec503158b8 (patch) | |
tree | 4b308e68145ff124c50c7a5d4ebec8f0060d35e6 /7_2/Makefile | |
parent | 5d294755542190ac5135af8e120e313b55828625 (diff) |
task7 initial commit
Diffstat (limited to '7_2/Makefile')
-rw-r--r-- | 7_2/Makefile | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/7_2/Makefile b/7_2/Makefile new file mode 100644 index 0000000..7c29431 --- /dev/null +++ b/7_2/Makefile @@ -0,0 +1,16 @@ + +all: main + +build: + mkdir -p build + +build/%.o: src/%.c include/%.h build + $(CC) -c -g -ggdb -o $@ $< -Iinclude + +main: main.c build/drawable.o build/figure.o build/input.o + $(CC) -o $@ $^ -lm -lX11 -Iinclude + +.PHONY: clean + +clean: + $(RM) *.o main build/* |