Anthony Debucquoy
6c4944f985
It certainly is full of bug but the main goal is done so i'm kinda happy ^^
20 lines
258 B
Makefile
20 lines
258 B
Makefile
.PHONY: clean, mrproper
|
|
CC = gcc
|
|
CFLAGS = -g -Wall -Wextra -pedantic
|
|
LIBS = -lm
|
|
|
|
all: fisualizer
|
|
|
|
%.o: %.c
|
|
$(CC) $(CFLAGS) -c -o $@ $<
|
|
|
|
fisualizer: fisualizer.o
|
|
$(CC) $(CFLAGS) -o $@ $+ $(LIBS)
|
|
|
|
clean:
|
|
rm -f *.o core.*
|
|
|
|
mrproper: clean
|
|
rm -f fisualizer
|
|
|