remove object files on clean

master
orange 11 years ago
parent dde2ce62db
commit 73636823a6

@ -9,7 +9,7 @@ all: $(TARGETS) $(EXTRAS)
.PHONY: clean .PHONY: clean
clean: clean:
rm -f $(TARGETS) $(EXTRAS) *~ rm -f $(TARGETS) $(EXTRAS) *.o *~
mandelbrot: mandelbrot.c mandelbrot: mandelbrot.c
$(CC) $(CFLAGS) $(shell sdl-config --cflags) -o $@ $< $(shell sdl-config --libs) -lm $(CC) $(CFLAGS) $(shell sdl-config --cflags) -o $@ $< $(shell sdl-config --libs) -lm

Loading…
Cancel
Save