diff options
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 |