File: Makefile.sample

package info (click to toggle)
libevent 2.1.12-stable-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 5,224 kB
  • sloc: ansic: 56,582; sh: 4,515; python: 1,356; makefile: 221
file content (15 lines) | stat: -rw-r--r-- 183 bytes parent folder | download | duplicates (13)
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