diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -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) |