diff options
author | Simon Rettberg | 2019-11-29 15:27:46 +0100 |
---|---|---|
committer | Simon Rettberg | 2019-11-29 15:27:46 +0100 |
commit | 207b222deaaf4a4d58d8ec7c16fef4ca897ac073 (patch) | |
tree | da4daa8855c38a5d99154d265576f76810c2ae89 /Makefile | |
parent | Add missing return statement (diff) | |
download | jawol-207b222deaaf4a4d58d8ec7c16fef4ca897ac073.tar.gz jawol-207b222deaaf4a4d58d8ec7c16fef4ca897ac073.tar.xz jawol-207b222deaaf4a4d58d8ec7c16fef4ca897ac073.zip |
Add "listen for WOL" mode
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 10 |
1 files changed, 8 insertions, 2 deletions
@@ -1,2 +1,8 @@ -all: - gcc -D_GNU_SOURCE -std=c99 -Os -g -Wall -Wextra -pedantic -o jawol jawol.c +CC ?= gcc +CFLAGS := -D_GNU_SOURCE -std=c99 -Os -g -Wall -Wextra -pedantic $(CFLAGS) + +jawol: jawol.c + $(CC) -o $@ $^ $(CFLAGS) + +clean: + rm -f -- jawol |