File: Makefile.sample

package info (click to toggle)
libevent 2.0.21-stable-3
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 4,616 kB
  • ctags: 5,933
  • sloc: ansic: 44,152; sh: 11,510; python: 1,322; makefile: 263
file content (15 lines) | stat: -rw-r--r-- 183 bytes parent folder | download | duplicates (15)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
CC := gcc
CFLAGS := -g
LIBS := -levent

PROGS := event-test signal-test time-test

all : $(PROGS)

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

clean :
	rm $(PROGS)

.PHONY : all clean