2020-07-13 22:55:46 +02:00
|
|
|
CFLAGS += -Wall -Wextra -pedantic
|
|
|
|
|
2020-07-18 01:02:39 +02:00
|
|
|
all: merd qrap
|
2020-07-13 22:55:46 +02:00
|
|
|
|
2020-07-20 16:27:43 +02:00
|
|
|
merd: merd.c merd.h arp.c arp.h dhcp.c dhcp.h util.c util.h
|
|
|
|
$(CC) $(CFLAGS) merd.c arp.c dhcp.c util.c -o merd
|
2020-07-13 22:55:46 +02:00
|
|
|
|
2020-07-18 01:02:39 +02:00
|
|
|
qrap: qrap.c merd.h
|
|
|
|
$(CC) $(CFLAGS) qrap.o -o qrap
|
|
|
|
|
2020-07-13 22:55:46 +02:00
|
|
|
.PHONY: clean
|
|
|
|
clean:
|
2020-07-18 01:02:39 +02:00
|
|
|
-${RM} merd qrap
|