File: Makefile

package info (click to toggle)
gammu 1.20.0-1
  • links: PTS, VCS
  • area: main
  • in suites: lenny
  • size: 9,416 kB
  • ctags: 6,768
  • sloc: ansic: 81,164; pascal: 7,209; cpp: 4,023; php: 1,106; python: 867; sh: 705; makefile: 295; sql: 270; perl: 107; asm: 31
file content (16 lines) | stat: -rw-r--r-- 290 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# Path to directory, where is gammu built
GAMMU_BUILD=../../../build-configure/

CFLAGS=$(shell PKG_CONFIG_PATH=$(GAMMU_BUILD)/pkgconfig pkg-config --cflags --libs gammu) -Wall

ALL=phone-info sms-send

.PHONY: all clean

all: $(ALL)

clean: 
	rm -f $(ALL)

%:%.c
	$(CC) $< $(CFLAGS) -o $@