File: Makefile

package info (click to toggle)
nut-nutrition 15.5-1
  • links: PTS
  • area: main
  • in suites: squeeze, wheezy
  • size: 5,224 kB
  • ctags: 520
  • sloc: ansic: 7,230; sh: 187; makefile: 56
file content (14 lines) | stat: -rw-r--r-- 316 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
objects := $(patsubst %.c,%.o,$(wildcard *.c))

CFLAGS= -O2 -Wall -DNUTDIR=\".nut-nutrition\" -DFOODDIR=\"/usr/share/nut-nutrition/\" -ansi -pedantic

nut:	$(objects)
	$(CC) ${CFLAGS} -o nut $(LDFLAGS) $(objects) -lm

deps:
	makedepend *.c

clean:
	rm -f *.o nut preprocess/dbabbrev preprocess/dbjw

# DO NOT DELETE