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 $@
|