summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 0294f48..cb52921 100644
--- a/Makefile
+++ b/Makefile
@@ -7,7 +7,9 @@
default: all
CC=c99
+LD=$(CC)
CFLAGS=-Wall -Wextra -Wpedantic -Werror -g
+LDFLAGS=
all: maje
@@ -31,4 +33,4 @@ maje.o: maje.c
$(CC) $(CFLAGS) -c maje.c
maje:
- $(CC) -o $@ *.o
+ $(LD) $(LDFLAGS) -o $@ *.o