File: Makefile

package info (click to toggle)
iprutils 2.4.19-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,304 kB
  • sloc: ansic: 27,001; sh: 326; makefile: 88; python: 10
file content (11 lines) | stat: -rw-r--r-- 241 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
INCLUDEDIR = -I. -I..
CC = gcc
CFLAGS = -g -Wall $(IPR_DEFINES)

all : $(patsubst %.c,%,$(wildcard *.c))

% : %.c
	$(CC) $(CFLAGS) $(INCLUDEDIR) -o $@ ../iprlib.o $< -lsysfs

clean:
	rm -f iprcache iprperf iprshutdown iprtest iprwritebuffer