11 lines
331 B
Makefile
11 lines
331 B
Makefile
include config.mk
|
|
|
|
all: src/main.c src/printevents.c src/mkevent.c
|
|
$(CC) $(CFLAGS) $(LDFLAGS) -c src/main.c
|
|
$(CC) $(CFLAGS) $(LDFLAGS) -c src/printevents.c
|
|
$(CC) $(CFLAGS) $(LDFLAGS) -c src/mkevent.c
|
|
$(CC) $(CFLAGS) $(LDFLAGS) -o src/nc src/main.o src/printevents.o src/mkevent.o
|
|
|
|
install: src/nc
|
|
install src/nc $(PREFIX)/bin
|