biggest change ever
This commit is contained in:
parent
41d9f87eab
commit
8bfacabcd0
1 changed files with 3 additions and 3 deletions
6
Makefile
6
Makefile
|
@ -27,13 +27,13 @@ dirs:
|
||||||
mkdir -p $(BIN)
|
mkdir -p $(BIN)
|
||||||
|
|
||||||
$(NAME): $(OBJ)
|
$(NAME): $(OBJ)
|
||||||
$(CC) -o $(BIN)/$@ $(addprefix $(BIN)/, $^) $(LDFLAGS)
|
$(CC) $(addprefix $(BIN)/, $^) $(LDFLAGS) -o $(BIN)/$@
|
||||||
|
|
||||||
%.so: modules/%.c $(LIB)
|
%.so: modules/%.c $(LIB)
|
||||||
$(CC) -o $(BIN)/$@ $^ -shared -fPIC $(CFLAGS) $(LDFLAGS)
|
$(CC) $^ -shared -fPIC $(CFLAGS) $(LDFLAGS) -o $(BIN)/$@
|
||||||
|
|
||||||
%.o: %.c
|
%.o: %.c
|
||||||
$(CC) -o $(BIN)/$@ -c $< $(CFLAGS)
|
$(CC) -c $< $(CFLAGS) -o $(BIN)/$@
|
||||||
|
|
||||||
clean: clean_modules
|
clean: clean_modules
|
||||||
rm -rf $(addprefix $(BIN)/, $(OBJ))
|
rm -rf $(addprefix $(BIN)/, $(OBJ))
|
||||||
|
|
Loading…
Reference in a new issue