e35dea7bce
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
12 lines
139 B
Makefile
12 lines
139 B
Makefile
CC=gcc
|
|
CFLAGS=-g
|
|
SRCDIR=src/c/
|
|
|
|
OBJ=$(SRCDIR)main.o
|
|
|
|
lupi: $(OBJ)
|
|
$(CC) $(LFLAGS) $^ -o $@
|
|
|
|
$(OBJ): %.o: %.c
|
|
$(CC) -c $(CFLAGS) $< -o $@
|