Added -pedantic and -ansi to CFLAGS and cleaned warnings
[rice.git] / examples / simpleec / Makefile
bloba1454ab5316d1cfbbbf55d9ab7428da7395543c3
1 PROGRAM=simpleec
2 CFLAGS=-O2 -g -Wall
3 LDFLAGS=
4 INCLUDES=-I../../include
5 LIBS=-L../.. -lrice -lm
6 SOURCES = $(shell find . -name '*.c')
7 CC=gcc
9 $(PROGRAM): $(SOURCES)
10 $(CC) $+ -o $@ $(CFLAGS) $(INCLUDES) $(LDFLAGS) $(LIBS)
12 clean:
13 rm -f *.o $(PROGRAM) *~