macros.txt: list all predefined macros
This commit is contained in:
parent
43758dd8fc
commit
ca15f19709
1 changed files with 4 additions and 1 deletions
5
Makefile
5
Makefile
|
@ -13,7 +13,7 @@ TARGETS=approximate-pi linked-list mandelbrot threads circular-buffer structs \
|
|||
positional-format-strings
|
||||
EXTRAS=mandelbrot.bmp multibrot.png test-inline-assembly.s \
|
||||
mtrace-test.trace mtrace-test.txt multibrot-openmp.png
|
||||
VERYEXTRAS=cppcheck.txt tags
|
||||
VERYEXTRAS=cppcheck.txt macros.txt tags
|
||||
|
||||
.PHONY: all
|
||||
all: $(TARGETS)
|
||||
|
@ -88,3 +88,6 @@ multibrot-openmp: multibrot-openmp.c
|
|||
|
||||
mandelbrot-openmp: mandelbrot-openmp.c
|
||||
$(CC_OPENMP) $(CFLAGS_OPENMP) $(shell sdl-config --cflags) -o $@ $< $(shell sdl-config --libs) -lm
|
||||
|
||||
macros.txt:
|
||||
$(CC) -dM -E -x c /dev/null > $@
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue