19 lines
239 B
Makefile
19 lines
239 B
Makefile
|
.PHONY: clean, mrproper
|
||
|
CC = gcc
|
||
|
CFLAGS = -g -Wall -Wextra -pedantic
|
||
|
|
||
|
all: fisualizer
|
||
|
|
||
|
%.o: %.c
|
||
|
$(CC) $(CFLAGS) -c -o $@ $<
|
||
|
|
||
|
fisualizer: fisualizer.o
|
||
|
$(CC) $(CFLAGS) -o $@ $+
|
||
|
|
||
|
clean:
|
||
|
rm -f *.o core.*
|
||
|
|
||
|
mrproper: clean
|
||
|
rm -f fisualizer
|
||
|
|