Return to Snippet

Revision: 31203
at September 1, 2010 04:53 by masahiroh


Initial Code
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)

Initial URL

                                

Initial Description
Path: /some/where/openFrameworks/apps/examples/myProject/src/Makefile

Initial Title
Makefile for checking syntax of openFrameworks application

Initial Tags

                                

Initial Language
Makefile