mirror of
https://github.com/eddyem/bta-meteo-logger.git
synced 2025-12-06 02:35:19 +03:00
16 lines
380 B
Makefile
16 lines
380 B
Makefile
CC = gcc
|
|
LDFLAGS = -lcrypt
|
|
CPPFLAGS =
|
|
all : daemon tempmon tempmon_cli clean
|
|
daemon : daemon.o
|
|
$(CC) $(LDFLAGS) daemon.c $(CPPFLAGS) -o daemon
|
|
tempmon : client.o
|
|
$(CC) client.c $(CPPFLAGS) -o tempmon
|
|
tempmon_cli : client_cli.o
|
|
$(CC) client_cli.c $(CPPFLAGS) -o tempmon_cli
|
|
clean:
|
|
/bin/rm -f *.o *~
|
|
|
|
### <DEPENDENCIES ON .h FILES GO HERE>
|
|
# name1.o : header1.h header2.h ...
|