aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 1 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 7b93c45..deebcc6 100644
--- a/Makefile
+++ b/Makefile
@@ -1,10 +1,9 @@
CFILES_OTLIB = $(shell find lib/ -name "*.c")
CFLAGS_OTLIB = -pedantic -Ilib/include/ -fPIC
OTLIB_OBJ = $(CFILES_OTLIB:.c=.o)
-CC = gcc
libostp.so: $(OTLIB_OBJ)
- gcc -shared -o $@ $(OTLIB_OBJ)
+ $(CC) -shared -o $@ $(OTLIB_OBJ)
%.o: %.c
mkdir -p $(@D)