diff options
| author | Thomas Guillermo Albers Raviola <thomas@thomaslabs.org> | 2026-01-16 19:38:33 +0100 |
|---|---|---|
| committer | Thomas Guillermo Albers Raviola <thomas@thomaslabs.org> | 2026-01-16 19:38:33 +0100 |
| commit | a90db3b7b6e87e24c789b5db222f1cef92809bde (patch) | |
| tree | 2096abcb1ac1ea970a51e598257186bc4e030b22 /progress/Makefile | |
Initial commit
Diffstat (limited to 'progress/Makefile')
| -rw-r--r-- | progress/Makefile | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/progress/Makefile b/progress/Makefile new file mode 100644 index 0000000..37166bb --- /dev/null +++ b/progress/Makefile @@ -0,0 +1,12 @@ +TARGET=highnoon +SRC=$(wildcard src/*.c) +OBJ=$(addprefix obj/, $(SRC:src/%.c=%.o)) +LDFLAGS=-lSDL2 -lSDL2_mixer -lSDL2_image -lSDL2_ttf + +obj/%.o : src/%.c + $(CC) -c $< -o $@ + +$(TARGET) : src/main.h $(OBJ) + $(CC) $(OBJ) -o $@ $(LDFLAGS) + +all: $(TARGET) |
