summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index e1b832f..bd1f29a 100644
--- a/Makefile
+++ b/Makefile
@@ -1,4 +1,4 @@
-CFLAGS = -c -g -O3 -Wall -Wextra -Wno-unused-parameter -Isrc
+CFLAGS = -g -O3 -Wall -Wextra -Wno-unused-parameter -Isrc
ifneq ($(OS),Windows_NT)
CFLAGS += -fPIC
@@ -57,5 +57,5 @@ clean:
# Generic object compilations
-%.o: src/%.c examples/%.c
- $(CC) $(CFLAGS) -o $@ $<
+%.o: %.c
+ $(CC) $(CFLAGS) -c -o $@ $<