/ Published in: Makefile
Path: /some/where/openFrameworks/apps/examples/myProject/src/Makefile
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
CC = gcc-4.2 INCLUDE_DIRS := $(sort $(dir $(shell find ../../../../libs -name "*.h" && find ../../../../addons -name "*.h" && find . -name "*.h"))) CFLAGS = -Wall -Wextra -fsyntax-only $(addprefix -I ,$(INCLUDE_DIRS)) .PHONY: check-syntax check-syntax: $(CC) -o null $(CFLAGS) $(CHK_SOURCES)