restructure

This commit is contained in:
2025-12-17 02:00:39 +01:00
parent 6c4da20268
commit 97e9a03610
5 changed files with 21 additions and 0 deletions

21
draw_parra/makefile Normal file
View File

@@ -0,0 +1,21 @@
CC := gcc
CFLAGS := -Wall -Wextra
LDLIBS := -lc -lm
TARGET := dmx2img
SRC := dmx2img.c
# -------------------------------------------------
# Default target just type `make` to build
all: $(TARGET)
# How to build the executable
$(TARGET): $(SRC)
$(CC) $(CFLAGS) $^ $(LDLIBS) -o $@
# Convenience: `make clean` to remove the binary
clean:
rm -f $(TARGET)
.PHONY: all clean